def setUp(self): SoftLayer.connectionCls.conn_classes = (SoftLayerMockHttp, SoftLayerMockHttp) SoftLayerMockHttp.type = None self.driver = SoftLayer(*SOFTLAYER_PARAMS)
def setUp(self): SoftLayer.connectionCls.proxyCls.transportCls = [ MockSoftLayerTransport, MockSoftLayerTransport ] self.driver = SoftLayer(SOFTLAYER_USER, SOFTLAYER_APIKEY)
def setUp(self): SoftLayer.connectionCls.proxyCls.transportCls = [ MockSoftLayerTransport, MockSoftLayerTransport ] self.driver = SoftLayer(*SOFTLAYER_PARAMS)