py38: install_deps> python -I -m pip install -r test-requirements.txt .pkg: install_requires> python -I -m pip install 'setuptools>=40.8.0' wheel .pkg: _optional_hooks> python /tmp/venv-dXPG/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: get_requires_for_build_sdist> python /tmp/venv-dXPG/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_sdist> python -I -m pip install pytest-runner==5.2 .pkg: get_requires_for_build_wheel> python /tmp/venv-dXPG/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: install_requires_for_build_wheel> python -I -m pip install pytest-runner==5.2 wheel .pkg: freeze> python -m pip freeze --all .pkg: pip==23.3.1,pytest-runner==5.2,setuptools==69.0.2,wheel==0.42.0 .pkg: prepare_metadata_for_build_wheel> python /tmp/venv-dXPG/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ .pkg: build_sdist> python /tmp/venv-dXPG/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py38: install_package_deps> python -I -m pip install dacite==1.6.0 jinja2==3.0.3 jsonschema==4.4.0 'more-itertools>=8.12.0' oyaml==1.0 pyOpenSSL==22.0.0 'requests[socks]==2.27.1' simplejson==3.17.6 py38: install_package> python -I -m pip install --force-reinstall --no-deps /w/workspace/integration-python-onapsdk-master-python3.8-lint/.tox/.tmp/package/1/onapsdk-12.8.0.tar.gz py38: freeze> python -m pip freeze --all py38: astroid==3.0.2,attrs==23.2.0,bandit==1.7.6,certifi==2023.11.17,cffi==1.16.0,charset-normalizer==2.0.12,coverage==7.4.0,cryptography==38.0.4,dacite==1.6.0,dill==0.3.7,exceptiongroup==1.2.0,gitdb==4.0.11,GitPython==3.1.41,idna==3.6,importlib-resources==6.1.1,iniconfig==2.0.0,isort==5.13.2,Jinja2==3.0.3,jsonschema==4.4.0,markdown-it-py==3.0.0,MarkupSafe==2.1.3,mccabe==0.7.0,mdurl==0.1.2,more-itertools==10.2.0,onapsdk==12.8.0,oyaml==1.0,packaging==23.2,pbr==6.0.0,pip==23.3.1,platformdirs==4.1.0,pluggy==1.3.0,pycparser==2.21,pydocstyle==6.3.0,Pygments==2.17.2,pylint==3.0.3,pyOpenSSL==22.0.0,pyrsistent==0.20.0,PySocks==1.7.1,pytest==7.4.4,pytest-cov==4.1.0,PyYAML==6.0.1,requests==2.27.1,requests-mock==1.11.0,rich==13.7.0,setuptools==69.0.2,simplejson==3.17.6,six==1.16.0,smmap==5.0.1,snowballstemmer==2.2.0,stevedore==5.1.0,tomli==2.0.1,tomlkit==0.12.3,typing_extensions==4.9.0,urllib3==1.26.18,wheel==0.42.0,zipp==3.17.0 py38: commands[0]> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules ============================= test session starts ============================== platform linux -- Python 3.8.14, pytest-7.4.4, pluggy-1.3.0 -- /w/workspace/integration-python-onapsdk-master-python3.8-lint/.tox/py38/bin/python cachedir: .tox/py38/.pytest_cache rootdir: /w/workspace/integration-python-onapsdk-master-python3.8-lint configfile: setup.cfg plugins: requests-mock-1.11.0, cov-4.1.0 collecting ... collected 763 items tests/test_aai_bulk.py::test_aai_bulk PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_complex_property PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_get_tenants_by_name PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_count PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_delete PASSED [ 0%] tests/test_aai_cloud_region.py::test_cloud_region_update PASSED [ 0%] tests/test_aai_complex.py::test_complex PASSED [ 0%] tests/test_aai_complex.py::test_complex_update PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_all PASSED [ 1%] tests/test_aai_complex.py::test_cloud_region_link_to_complex PASSED [ 1%] tests/test_aai_complex.py::test_complex_get_by_physical_location_id PASSED [ 1%] tests/test_aai_complex.py::test_complex_delete PASSED [ 1%] tests/test_aai_complex.py::test_complex_count PASSED [ 1%] tests/test_aai_customer.py::test_customer_service_tenant_relations PASSED [ 1%] tests/test_aai_customer.py::test_customers_get_all PASSED [ 1%] tests/test_aai_customer.py::test_customer_get_service_subscription_by_service_type PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_service_instance PASSED [ 2%] tests/test_aai_customer.py::test_customer_service_subscription_cloud_region PASSED [ 2%] tests/test_aai_customer.py::test_customer_get_by_global_customer_id PASSED [ 2%] tests/test_aai_customer.py::test_customer_create PASSED [ 2%] tests/test_aai_customer.py::test_customer_delete PASSED [ 2%] tests/test_aai_customer.py::test_customer_update PASSED [ 2%] tests/test_aai_customer.py::test_delete_subscribed_service PASSED [ 3%] tests/test_aai_customer.py::test_customer_url PASSED [ 3%] tests/test_aai_customer.py::test_service_subscription_link_cloud_region_and_tenant PASSED [ 3%] tests/test_aai_customer.py::test_customer_subscribe_service PASSED [ 3%] tests/test_aai_customer.py::test_availability_zones PASSED [ 3%] tests/test_aai_customer.py::test_get_availability_zone_from_name PASSED [ 3%] tests/test_aai_customer.py::test_add_availability_zone PASSED [ 3%] tests/test_aai_customer.py::test_add_tenant_to_cloud PASSED [ 3%] tests/test_aai_customer.py::test_add_esr_system_info PASSED [ 4%] tests/test_aai_customer.py::test_register_to_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_unregister_from_multicloud PASSED [ 4%] tests/test_aai_customer.py::test_delete_cloud_region PASSED [ 4%] tests/test_aai_customer.py::test_customer_count PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_all PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_get_by_region_id PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_create PASSED [ 4%] tests/test_aai_geo_region.py::test_geo_region_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_all PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_get_by_name PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_create PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_count PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_url PASSED [ 5%] tests/test_aai_line_of_business.py::test_line_of_business_delete PASSED [ 5%] tests/test_aai_network.py::test_create_network_instance_from_api_response PASSED [ 6%] tests/test_aai_network.py::test_network_instance_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_all PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_get_by_name PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_create PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_delete PASSED [ 6%] tests/test_aai_owning_entity.py::test_owning_entity_update PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_all PASSED [ 6%] tests/test_aai_platform.py::test_platform_get_by_name PASSED [ 7%] tests/test_aai_platform.py::test_platform_create PASSED [ 7%] tests/test_aai_platform.py::test_line_of_business_count PASSED [ 7%] tests/test_aai_platform.py::test_platform_url PASSED [ 7%] tests/test_aai_platform.py::test_platform_delete PASSED [ 7%] tests/test_aai_pnf.py::test_create_pnf_instance_from_api_response PASSED [ 7%] tests/test_aai_pnf.py::test_delete_pnf_instance PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_instance_pnf PASSED [ 7%] tests/test_aai_pnf.py::test_pnf_count PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_delete_from_aai_failure PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_success_with_none_attribute PASSED [ 8%] tests/test_aai_pnf.py::test_put_in_aai_failure PASSED [ 8%] tests/test_aai_project.py::test_project_get_all PASSED [ 8%] tests/test_aai_project.py::test_project_get_by_name PASSED [ 9%] tests/test_aai_project.py::test_project_create PASSED [ 9%] tests/test_aai_project.py::test_project_count PASSED [ 9%] tests/test_aai_project.py::test_project_url PASSED [ 9%] tests/test_aai_project.py::test_project_delete PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_link_to_project PASSED [ 9%] tests/test_aai_project.py::test_cloud_region_delete_project PASSED [ 9%] tests/test_aai_resource.py::test_relationship_not_found PASSED [ 9%] tests/test_aai_resource.py::test_relationship_get_relationship_data PASSED [ 10%] tests/test_aai_resource.py::test_get_guis PASSED [ 10%] tests/test_aai_service.py::test_init PASSED [ 10%] tests/test_aai_service.py::test_class_variables PASSED [ 10%] tests/test_aai_service.py::test_customers PASSED [ 10%] tests/test_aai_service.py::test_customers_no_resources PASSED [ 10%] tests/test_aai_service.py::test_subscription_type_list PASSED [ 10%] tests/test_aai_service.py::test_subscription_types_no_resources PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions PASSED [ 11%] tests/test_aai_service.py::test_cloud_region_creation PASSED [ 11%] tests/test_aai_service.py::test_tenants_info PASSED [ 11%] tests/test_aai_service.py::test_tenants_info_wrong_cloud_name PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_relationship PASSED [ 11%] tests/test_aai_service.py::test_cloud_regions_esr_system_infos PASSED [ 11%] tests/test_aai_service.py::test_create_complex PASSED [ 11%] tests/test_aai_service.py::test_filter_none_value PASSED [ 12%] tests/test_aai_service.py::test_add_relationship PASSED [ 12%] tests/test_aai_service.py::test_delete_relationship PASSED [ 12%] tests/test_aai_service.py::test_service_url PASSED [ 12%] tests/test_aai_service.py::test_service_create PASSED [ 12%] tests/test_aai_service.py::test_model_init PASSED [ 12%] tests/test_aai_service.py::test_model_url PASSED [ 12%] tests/test_aai_service.py::test_zero_model_get_all PASSED [ 12%] tests/test_aai_service.py::test_model_get_all PASSED [ 13%] tests/test_aai_service.py::test_cloud_region_complex_property PASSED [ 13%] tests/test_aai_service.py::test_service_instance_create PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_vnf_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_network_instances PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf PASSED [ 13%] tests/test_aai_service_instance.py::test_service_instance_add_vnf_macro PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_add_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_generic_network PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_deletion PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_sdc_service PASSED [ 14%] tests/test_aai_service_instance.py::test_service_instance_count PASSED [ 14%] tests/test_aai_service_instance.py::test_service_deletion_request PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_filter_parameter PASSED [ 14%] tests/test_aai_service_subscription.py::test_get_service_instance_by_id PASSED [ 15%] tests/test_aai_service_subscription.py::test_get_service_instance_by_name PASSED [ 15%] tests/test_aai_service_subscription.py::test_cloud_regions PASSED [ 15%] tests/test_aai_service_subscription.py::test_tenants PASSED [ 15%] tests/test_aai_service_subscription.py::test_service_subscription_count PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_all PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_get_by_id PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_create PASSED [ 15%] tests/test_aai_site_resource.py::test_site_resource_link_to_complex PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_site_resource PASSED [ 16%] tests/test_aai_site_resource.py::test_site_resource_link_to_cell FAILED [ 16%] =================================== FAILURES =================================== _______________________ test_site_resource_link_to_cell ________________________ mock_add_relationship = @patch("onapsdk.aai.network.site_resource.SiteResource.add_relationship") def test_site_resource_link_to_cell(mock_add_relationship): cell = MagicMock(cell_id="test-cell-id", url="test-cell-url") site_resource = SiteResource("test-site-resource") > site_resource.link_to_cell(cell) E AttributeError: 'SiteResource' object has no attribute 'link_to_cell' tests/test_aai_site_resource.py:111: AttributeError ---------- coverage: platform linux, python 3.8.14-final-0 ----------- Name Stmts Miss Cover Missing ------------------------------------------------------------------------------------------------- src/onapsdk/__init__.py 0 0 100% src/onapsdk/aai/__init__.py 0 0 100% src/onapsdk/aai/aai_element.py 90 0 100% src/onapsdk/aai/bulk.py 26 0 100% src/onapsdk/aai/business/__init__.py 12 0 100% src/onapsdk/aai/business/customer.py 156 6 96% 250, 268, 611-616 src/onapsdk/aai/business/instance.py 10 0 100% src/onapsdk/aai/business/line_of_business.py 31 0 100% src/onapsdk/aai/business/network.py 42 2 95% 156, 166 src/onapsdk/aai/business/owning_entity.py 46 0 100% src/onapsdk/aai/business/platform.py 30 0 100% src/onapsdk/aai/business/pnf.py 84 3 96% 28, 179-184 src/onapsdk/aai/business/project.py 30 0 100% src/onapsdk/aai/business/service.py 97 8 92% 156-161, 330, 452-455, 523-524 src/onapsdk/aai/business/sp_partner.py 33 18 45% 47-55, 74, 85, 95-99, 133-148, 161-167 src/onapsdk/aai/business/vf_module.py 43 29 33% 78-95, 119, 129, 139-150, 166, 198-199 src/onapsdk/aai/business/vnf.py 127 51 60% 247, 257, 267-270, 283-294, 387, 413-419, 429, 438, 455-469, 491-526, 544-545 src/onapsdk/aai/cloud_infrastructure/__init__.py 4 0 100% src/onapsdk/aai/cloud_infrastructure/cloud_region.py 138 0 100% src/onapsdk/aai/cloud_infrastructure/complex.py 64 0 100% src/onapsdk/aai/cloud_infrastructure/geo_region.py 33 0 100% src/onapsdk/aai/cloud_infrastructure/tenant.py 17 2 88% 72, 101 src/onapsdk/aai/mixins/__init__.py 0 0 100% src/onapsdk/aai/mixins/link_to_complex.py 21 1 95% 23 src/onapsdk/aai/mixins/link_to_geo_region.py 8 3 62% 20, 33-44 src/onapsdk/aai/mixins/link_to_project.py 11 1 91% 21 src/onapsdk/aai/mixins/link_to_tenant.py 11 5 55% 21, 36-47, 58-69 src/onapsdk/aai/network/__init__.py 1 0 100% src/onapsdk/aai/network/site_resource.py 47 1 98% 103 src/onapsdk/aai/service_design_and_creation.py 41 0 100% src/onapsdk/aai/templates/aai_line_of_business_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_owning_entity_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/aai_platform_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_project_create.json.j2 1 0 100% src/onapsdk/aai/templates/aai_service_create.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_add_tenant.json.j2 1 0 100% src/onapsdk/aai/templates/cloud_region_create_update.json.j2 1 0 100% src/onapsdk/aai/templates/complex_create_update.json.j2 1 0 100% src/onapsdk/cds/__init__.py 3 0 100% src/onapsdk/cds/blueprint.py 220 114 48% 72, 86, 97, 111, 128, 137, 146, 158, 170-173, 182-183, 240-246, 266-277, 287-298, 308-318, 328, 344-366, 399-406, 416, 428-438, 447, 469-473, 483, 502, 535-539, 549, 561-564, 574-577, 587-592, 605-610, 619-627, 631, 642, 658-659, 670-673, 689-692, 714-716, 735-741, 756-759, 773-776, 801, 826 src/onapsdk/cds/blueprint_model.py 46 31 33% 57-68, 93-114, 133-155, 167-173, 193-199, 207-215, 219 src/onapsdk/cds/blueprint_processor.py 6 1 83% 42 src/onapsdk/cds/cds_element.py 14 5 64% 40-47 src/onapsdk/cds/data_dictionary.py 63 35 44% 39-42, 53, 67, 86, 96, 106-107, 118-119, 146, 173-184, 197, 207, 218, 229-231, 239-240, 259-269 src/onapsdk/clamp/__init__.py 0 0 100% src/onapsdk/clamp/clamp_element.py 28 13 54% 33, 50-56, 71-79 src/onapsdk/clamp/loop_instance.py 146 110 25% 42-45, 50-52, 57, 67-71, 75-80, 91-95, 105-114, 118-122, 138-159, 170-172, 183-190, 209-213, 217-237, 242-243, 247-248, 264-277, 282-283, 287-288, 292-293, 306-312, 322-334, 338-339, 345-347 src/onapsdk/configuration/__init__.py 2 0 100% src/onapsdk/configuration/global_settings.py 47 0 100% src/onapsdk/configuration/loader.py 33 10 70% 55-60, 82-84, 101 src/onapsdk/constants.py 33 0 100% src/onapsdk/cps/__init__.py 3 0 100% src/onapsdk/cps/anchor.py 29 13 55% 22, 36-38, 61, 67, 80, 103, 124, 143, 160, 183, 201 src/onapsdk/cps/cps_element.py 6 0 100% src/onapsdk/cps/dataspace.py 63 30 52% 36-37, 56, 66-71, 85-92, 106-112, 126-134, 146-159, 175-181, 192, 210-216, 246-255, 259 src/onapsdk/cps/schemaset.py 19 6 68% 23, 53-56, 70 src/onapsdk/dmaap/__init__.py 0 0 100% src/onapsdk/dmaap/dmaap.py 25 6 76% 42, 59-60, 75, 81, 101 src/onapsdk/dmaap/dmaap_service.py 4 0 100% src/onapsdk/exceptions.py 26 2 92% 60, 70 src/onapsdk/k8s/__init__.py 6 0 100% src/onapsdk/k8s/connectivity_info.py 23 13 43% 34-38, 48, 61-67, 90-103 src/onapsdk/k8s/definition.py 109 70 36% 33-35, 45, 54-55, 88-100, 110, 120-136, 159, 178-182, 191-201, 232-235, 245-248, 268-274, 301-316, 325-337, 359-382, 391-396, 417-424, 442-447, 468-481, 493-500 src/onapsdk/k8s/instance.py 141 85 40% 39-45, 68-69, 79, 114-120, 130, 140-155, 167-181, 190-192, 209-214, 231-234, 254-259, 276-279, 286-293, 305, 343-347, 357-360, 377-383, 413-431, 460-478, 502-519, 528-531, 551-558, 575-583, 608-614 src/onapsdk/k8s/k8splugin_service.py 54 28 48% 39-42, 55-59, 74-77, 106-118, 138, 156 src/onapsdk/k8s/region.py 30 13 57% 45-47, 65-68, 72, 77-78, 99-107 src/onapsdk/msb/__init__.py 3 0 100% src/onapsdk/msb/esr.py 7 1 86% 63 src/onapsdk/msb/k8s/__init__.py 4 0 100% src/onapsdk/msb/k8s/connectivity_info.py 3 0 100% src/onapsdk/msb/k8s/definition.py 3 0 100% src/onapsdk/msb/k8s/instance.py 3 0 100% src/onapsdk/msb/k8s/k8splugin_msb_service.py 3 0 100% src/onapsdk/msb/msb_service.py 6 0 100% src/onapsdk/msb/multicloud.py 9 2 78% 36, 51 src/onapsdk/nbi/__init__.py 1 0 100% src/onapsdk/nbi/nbi.py 139 81 42% 43-53, 78-85, 107-111, 132-137, 170-177, 204-210, 226-228, 238-240, 278-290, 332-337, 347-353, 363-371, 398-416, 438-446, 458, 470, 482, 494 src/onapsdk/onap_service.py 126 70 44% 74-76, 125-201, 205-206, 245-247, 277-292, 308, 326-334, 339 src/onapsdk/sdc/__init__.py 178 95 47% 37-38, 51-53, 150-156, 167-187, 197-232, 243-250, 260-263, 268-270, 275-277, 282-284, 289, 294, 299, 303-305, 309-317, 322-346, 363-371 src/onapsdk/sdc/category_management.py 99 55 44% 44-52, 57, 62, 74, 85, 96-104, 129-133, 146-155, 165-172, 192, 202, 214, 235-244, 264, 274, 286 src/onapsdk/sdc/component.py 44 12 73% 58, 81, 91, 104-108, 127-131, 143, 158 src/onapsdk/sdc/pnf.py 21 10 52% 54-58, 62-64, 72-74 src/onapsdk/sdc/properties.py 65 27 58% 39, 54-55, 89-96, 117, 137-145, 157, 161-163, 189, 201-202 src/onapsdk/sdc/sdc_element.py 67 34 49% 31-32, 42-49, 53-61, 91, 102, 116-119, 129, 146-148, 163, 174, 184, 194, 207, 220, 243 src/onapsdk/sdc/sdc_resource.py 317 217 32% 48-69, 84-86, 91-93, 98, 103, 107, 111-143, 157, 167, 187-189, 200, 211, 222, 237, 250, 263, 277-278, 288-293, 323-331, 350-365, 372-374, 377-379, 383-396, 401, 411, 422, 433, 444, 455, 469, 481-485, 509-514, 526, 551-556, 577-580, 599-614, 630-641, 655-662, 673-675, 691, 708, 721, 740-744, 761-765, 776-777, 796-798, 821-829, 843-847, 869-872, 894-895, 909-912, 916-919, 923-926, 936-959, 963, 971 src/onapsdk/sdc/service.py 358 224 37% 78, 160-181, 194-198, 214-218, 231-249, 254-256, 261, 266-268, 280-283, 295-304, 324-361, 379, 384, 389, 394, 409-411, 423-425, 437-439, 449, 460, 471, 482, 493, 504, 519, 531-540, 544, 556-561, 565, 569, 573-574, 580-581, 587-588, 594-595, 601-602, 608-616, 620-629, 633-655, 660-665, 670-676, 680-691, 702, 706-709, 719-721, 725, 730, 735, 757-769, 782-798, 804-805, 812, 817, 835-844, 864-883, 901-903, 922-924, 936-938 src/onapsdk/sdc/vendor.py 46 25 46% 46-47, 58, 62-66, 70, 74-82, 93, 107-109, 113-114, 119, 123-124 src/onapsdk/sdc/vf.py 40 23 42% 26, 62-66, 81-92, 102-104, 109-110, 124-129, 154-157 src/onapsdk/sdc/vfc.py 9 3 67% 39-41 src/onapsdk/sdc/vl.py 9 3 67% 39-41 src/onapsdk/sdc/vsp.py 157 106 32% 54-58, 63-64, 68-89, 93-94, 106, 119, 126, 130, 137, 144, 151, 157-161, 166, 171-173, 178, 182-185, 189-195, 203-212, 218-222, 226-231, 244-249, 278-282, 286-293, 297-304, 308-312, 323, 337-341, 355, 364-373 src/onapsdk/sdnc/__init__.py 1 0 100% src/onapsdk/sdnc/preload.py 28 12 57% 40-43, 66-72, 94, 128-135 src/onapsdk/sdnc/sdnc_element.py 15 8 47% 35-48 src/onapsdk/sdnc/services.py 46 32 30% 39-42, 62-75, 87-102, 109-111, 131-133, 153 src/onapsdk/sdnc/topology.py 66 43 35% 54-61, 82-91, 115-124, 148, 171-173, 192-204, 214-226, 235-250, 258-274 src/onapsdk/so/__init__.py 0 0 100% src/onapsdk/so/catalog_db_adapter.py 18 4 78% 38-40, 50-52 src/onapsdk/so/deletion.py 38 12 68% 55-70, 90-103, 122-135, 154-165 src/onapsdk/so/instantiation.py 330 186 44% 86, 126, 176, 215-220, 257-259, 279-280, 318-349, 375-377, 401-402, 418-448, 462-475, 505-529, 569-615, 655-697, 727-728, 744-775, 789-802, 833-876, 912-918, 952-976, 1038-1080, 1109-1146, 1171-1182, 1206-1207, 1233-1260, 1297-1321 src/onapsdk/so/modification.py 27 15 44% 13-14, 36-70 src/onapsdk/so/so_db_adapter.py 34 6 82% 71-84, 94-98 src/onapsdk/so/so_element.py 91 36 60% 47, 52-53, 58-69, 74-91, 96-99, 110, 121-128, 175-186, 198, 210, 222, 234-245 src/onapsdk/utils/__init__.py 8 4 50% 26, 38-40 src/onapsdk/utils/configuration.py 3 1 67% 20 src/onapsdk/utils/gui.py 13 1 92% 34 src/onapsdk/utils/headers_creator.py 63 11 83% 58, 77, 96, 222-230 src/onapsdk/utils/jinja.py 3 0 100% src/onapsdk/utils/mixins.py 28 14 50% 64-67, 89-99 src/onapsdk/utils/tosca_file_handler.py 29 20 31% 39-49, 62-75, 90, 106 src/onapsdk/version.py 1 0 100% src/onapsdk/ves/__init__.py 0 0 100% src/onapsdk/ves/ves.py 19 4 79% 48, 67, 77-78 src/onapsdk/ves/ves_service.py 4 0 100% src/onapsdk/vid/__init__.py 1 0 100% src/onapsdk/vid/vid.py 40 14 65% 39-41, 63-72, 86-87, 101-102, 116-117, 131-132 ------------------------------------------------------------------------------------------------- TOTAL 5063 2126 58% FAIL Required test coverage of 98% not reached. Total coverage: 58.01% =========================== short test summary info ============================ FAILED tests/test_aai_site_resource.py::test_site_resource_link_to_cell - Att... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 1 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! ======================== 1 failed, 124 passed in 4.16s ========================= py38: exit 1 (4.60 seconds) /w/workspace/integration-python-onapsdk-master-python3.8-lint> pytest tests/ --maxfail=1 --cov-fail-under=98 --verbose --doctest-modules pid=2766 .pkg: _exit> python /tmp/venv-dXPG/lib/python3.10/site-packages/pyproject_api/_backend.py True setuptools.build_meta __legacy__ py38: FAIL code 1 (23.66=setup[19.06]+cmd[4.60] seconds) evaluation failed :( (23.82 seconds)