def setUp(self): self.sms = ServiceManagementService( credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.storage_account_name = getUniqueName('utstor')
def setUp(self): self.sms = ServiceBusManagementService( credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.sb_namespace = getUniqueName('uts')
def setUp(self): self.sms = ServiceManagementService( credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.certificate_thumbprints = []
def setUp(self): self.sms = ServiceManagementService(credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.affinity_group_name = getUniqueName('utaffgrp') self.hosted_service_name = None self.storage_account_name = None
def setUp(self): self.sms = ServiceManagementService( credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.affinity_group_name = getUniqueName('utaffgrp') self.hosted_service_name = None self.storage_account_name = None
def setUp(self): self.sms = ServiceManagementService(credentials.getSubscriptionId(), credentials.getManagementCertFile()) self.sms.set_proxy(credentials.getProxyHost(), credentials.getProxyPort(), credentials.getProxyUser(), credentials.getProxyPassword()) self.storage_account_name = getUniqueNameBasedOnCurrentTime('utstorage')
def setUp(self): self.sms = ServiceManagementService(credentials.getSubscriptionId(), credentials.getManagementCertFile()) self.sms.set_proxy(credentials.getProxyHost(), credentials.getProxyPort(), credentials.getProxyUser(), credentials.getProxyPassword()) self.certificate_thumbprints = []
def test_get_namespace(self): # Arrange name = credentials.getServiceBusNamespace() # Act result = self.sms.get_namespace(name) # Assert self.assertIsNotNone(result) self.assertEqual(result.name, name) self.assertIsNotNone(result.region) self.assertIsNotNone(result.default_key) self.assertIsNotNone(result.status) self.assertIsNotNone(result.created_at) self.assertIsNotNone(result.acs_management_endpoint) self.assertIsNotNone(result.servicebus_endpoint) self.assertIsNotNone(result.connection_string) self.assertEqual(result.subscription_id, credentials.getSubscriptionId().replace('-', '')) self.assertTrue(result.enabled)
def setUp(self): self.sms = ServiceManagementService(credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.storage_account_name = getUniqueName('utstor')
def setUp(self): self.sms = ServiceManagementService(credentials.getSubscriptionId(), credentials.getManagementCertFile()) set_service_options(self.sms) self.certificate_thumbprints = []