summaryrefslogtreecommitdiffstats
path: root/testcases/testcase.py
diff options
context:
space:
mode:
Diffstat (limited to 'testcases/testcase.py')
-rw-r--r--testcases/testcase.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py
index 5d4a6ea9..ebf1e797 100644
--- a/testcases/testcase.py
+++ b/testcases/testcase.py
@@ -348,8 +348,8 @@ class TestCase(object):
self.run_initialize()
try:
- with self._vswitch_ctl, self._loadgen:
- with self._vnf_ctl, self._collector:
+ with self._vswitch_ctl:
+ with self._vnf_ctl, self._collector, self._loadgen:
if not self._vswitch_none:
self._add_flows()