summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/micronet_compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/lib/micronet_compat.py')
-rw-r--r--tests/topotests/lib/micronet_compat.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/topotests/lib/micronet_compat.py b/tests/topotests/lib/micronet_compat.py
index 5a69c56d8d..edbd360084 100644
--- a/tests/topotests/lib/micronet_compat.py
+++ b/tests/topotests/lib/micronet_compat.py
@@ -161,12 +161,10 @@ class Mininet(Micronet):
g_mnet_inst = None
- def __init__(self, controller=None):
+ def __init__(self):
"""
Create a Micronet.
"""
- assert not controller
-
if Mininet.g_mnet_inst is not None:
Mininet.g_mnet_inst.stop()
Mininet.g_mnet_inst = self