def setUp(self): BrightboxLBDriver.connectionCls.conn_class = BrightboxLBMockHttp BrightboxLBMockHttp.type = None BrightboxLBDriver.connectionCls.token = 'test' self.driver = BrightboxLBDriver(*LB_BRIGHTBOX_PARAMS)
def setUp(self): BrightboxLBDriver.connectionCls.conn_classes = (None, BrightboxLBMockHttp) BrightboxLBMockHttp.type = None self.driver = BrightboxLBDriver(*LB_BRIGHTBOX_PARAMS)