X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Ftests%2Frun_test.py;fp=osm_nbi%2Ftests%2Frun_test.py;h=b7eb98642a06fa37af48c431c4add4e0e57fced2;hp=079b129095bd126ad187582a454fd598cc2834f7;hb=f2af4a100d308e07f355d61b94fb27d1ccc97aa2;hpb=838e4fb65f485469934a4dd895ca910470fa8beb diff --git a/osm_nbi/tests/run_test.py b/osm_nbi/tests/run_test.py index 079b129..b7eb986 100755 --- a/osm_nbi/tests/run_test.py +++ b/osm_nbi/tests/run_test.py @@ -371,7 +371,7 @@ class TestRest: location = r.headers.get("Location") if location: - _id = location[location.rfind("/") + 1:] + _id = location[location.rfind("/") + 1 :] if _id: self.last_id = str(_id) if not pooling: @@ -481,7 +481,8 @@ class TestRest: ) vim_data = ( "{{schema_version: '1.0', name: '{}', vim_type: {}, vim_url: '{}'," - "vim_tenant_name: '{}', " "vim_user: {}, vim_password: {}" + "vim_tenant_name: '{}', " + "vim_user: {}, vim_password: {}" ).format( vim_name, os.environ.get("OSMNBITEST_VIM_TYPE", "openstack"), @@ -3024,9 +3025,7 @@ class TestDeployIpMac(TestDeploy): "vnfd_2vdu_set_ip_mac.yaml", ) self.nsd_filename = "scenario_2vdu_set_ip_mac.yaml" - self.descriptor_url = ( - "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=blob_plain;f=test/RO_tests/v3_2vdu_set_ip_mac/" - ) + self.descriptor_url = "https://osm.etsi.org/gitweb/?p=osm/RO.git;a=blob_plain;f=test/RO_tests/v3_2vdu_set_ip_mac/" self.commands = { "1": [ "ls -lrt",