Example #1
0
    def setUp(self):
        self.sms = ServiceBusManagementService(
            credentials.getSubscriptionId(),
            credentials.getManagementCertFile())
        set_service_options(self.sms)

        self.sb_namespace = getUniqueName('uts')
    def setUp(self):
        proxy_host = credentials.getProxyHost()
        proxy_port = credentials.getProxyPort()

        self.sms = ServiceBusManagementService(
            credentials.getSubscriptionId(),
            credentials.getManagementCertFile())
        if proxy_host:
            self.sms.set_proxy(proxy_host, proxy_port)

        self.sb_namespace = getUniqueNameBasedOnCurrentTime('uts')
Example #3
0
 def __init__(self, config):
     self.config = config
     self.sms = ServiceManagementService(config.getAzureSubscriptionId(),
                                         config.getAzureCertificatePath())
     self.sbms = ServiceBusManagementService(
         config.getAzureSubscriptionId(), config.getAzureCertificatePath())