Store the controllers list in an instance variable
since class variables tend to stick around and mess up later tests
diff --git a/tests/cxn.py b/tests/cxn.py
index 4b3ee59..34bacad 100644
--- a/tests/cxn.py
+++ b/tests/cxn.py
@@ -25,9 +25,6 @@
Base handshake case to set up controller, but do not send hello.
"""
- controllers = []
- default_timeout = 2
-
def controllerSetup(self, host, port):
con = controller.Controller(host=host,port=port)
@@ -42,6 +39,7 @@
def setUp(self):
logging.info("** START TEST CASE " + str(self))
+ self.controllers = []
self.default_timeout = test_param_get('default_timeout',
default=2)