Explorar el Código

Make sure instance is deleted after test_instance_properties, and
renamed test according to convention.

nuwan_ag hace 10 años
padre
commit
ef82f9a67a
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  1. 1 1
      test/__init__.py
  2. 1 0
      test/test_provider_compute_service.py

+ 1 - 1
test/__init__.py

@@ -27,9 +27,9 @@ as a base class to each combination).
 """
 import cloudbridge
 from test.helpers import ProviderTestCaseGenerator
-from test.test_compute_service import ProviderComputeServiceTestCase
 from test.test_provider_block_store_service import \
     ProviderBlockStoreServiceTestCase
+from test.test_provider_compute_service import ProviderComputeServiceTestCase
 from test.test_provider_image_service import ProviderImageServiceTestCase
 from test.test_provider_interface import ProviderInterfaceTestCase
 from test.test_provider_object_store_service import \

+ 1 - 0
test/test_compute_service.py → test/test_provider_compute_service.py

@@ -71,3 +71,4 @@ class ProviderComputeServiceTestCase(ProviderTestBase):
             self.assertTrue(
                 self._is_valid_ip(ip_address),
                 "Instance must have a valid IP address")
+            test_instance.terminate()