| 12345678910111213141516171819 |
- import azure_integration_test.helpers as helpers
- from azure_integration_test.helpers import ProviderTestBase
- class AzureIntegrationImageServiceTestCase(ProviderTestBase):
- @helpers.skipIfNoService(['compute.images'])
- def test_azure_image_service(self):
- images_list = self.provider.compute.images.list()
- if images_list.total_results > 0:
- image_get = self.provider.compute.images.get(images_list[0].id)
- print("Get Image - " + str(image_get))
- self.assertIsNotNone(image_get)
- # print("Before updating tag - " + str(image_get.name))
- # image_get.name("NewTestImage")
- # print("After updating tag - " + str(image_get.name))
|