test_azure_provider.py 1006 B

1234567891011121314151617181920212223242526
  1. from azure_test.helpers import ProviderTestBase
  2. class AzureProviderTestCase(ProviderTestBase):
  3. def test_azure_provider(self):
  4. compute = self.provider.compute
  5. self.assertTrue(compute is not None, 'Compute should not be None')
  6. with self.assertRaises(Exception):
  7. network = self.provider.network
  8. self.assertTrue(network is not None, 'Network should not be None')
  9. block_store = self.provider.block_store
  10. self.assertTrue(block_store is not None,
  11. 'Block Store should not be None')
  12. block_store = self.provider.block_store
  13. self.assertTrue(block_store is not None,
  14. 'Block Store should not be None')
  15. object_store = self.provider.object_store
  16. self.assertTrue(object_store is not None,
  17. 'Object Store should not be None')
  18. security = self.provider.security
  19. self.assertTrue(security is not None, 'Security should not be None')