示例#1
0
 def setUp(self):
     SoftLayer.connectionCls.conn_classes = (SoftLayerMockHttp,
                                             SoftLayerMockHttp)
     SoftLayerMockHttp.type = None
     self.driver = SoftLayer(*SOFTLAYER_PARAMS)
示例#2
0
 def setUp(self):
     SoftLayer.connectionCls.proxyCls.transportCls = [
         MockSoftLayerTransport, MockSoftLayerTransport
     ]
     self.driver = SoftLayer(SOFTLAYER_USER, SOFTLAYER_APIKEY)
示例#3
0
 def setUp(self):
     SoftLayer.connectionCls.proxyCls.transportCls = [
         MockSoftLayerTransport, MockSoftLayerTransport
     ]
     self.driver = SoftLayer(*SOFTLAYER_PARAMS)