Fix bug in the test which was causing a test failure under some
scenarios when running tests in standalone fashion (so compute test
didn't set token value on which test relies on).
@@ -30,6 +30,7 @@ class BrightboxLBTests(unittest.TestCase):
def setUp(self):
BrightboxLBDriver.connectionCls.conn_class = BrightboxLBMockHttp
BrightboxLBMockHttp.type = None
+ BrightboxLBDriver.connectionCls.token = 'test'
self.driver = BrightboxLBDriver(*LB_BRIGHTBOX_PARAMS)
def test_list_protocols(self):
