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