]> git.puffer.fish Git - mirror/frr.git/commitdiff
tests: Fix wrong tgen.stop_topology() calls which got skipped 12717/head
authorMartin Winter <mwinter@opensourcerouting.org>
Tue, 31 Jan 2023 15:10:04 +0000 (16:10 +0100)
committerMartin Winter <mwinter@opensourcerouting.org>
Tue, 31 Jan 2023 15:10:04 +0000 (16:10 +0100)
Calls were missing the () and caused the stop_topology() to be skipped

Signed-off-by: Martin Winter <mwinter@opensourcerouting.org>
tests/topotests/ospf_basic_functionality/test_ospf_lan.py
tests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py
tests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py
tests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py

index 80ca0c8b04b58c73c8d231ba9a8799a58506ecf1..773e83bd95504c8bab1bf45887ac7ce00906db60 100644 (file)
@@ -143,7 +143,7 @@ def teardown_module():
 
     try:
         # Stop toplogy and Remove tmp files
-        tgen.stop_topology
+        tgen.stop_topology()
 
     except OSError:
         # OSError exception is raised when mininet tries to stop switch
index a7ab29d791da88aa8c921e6644e11259ca9c6fad..f72cac4f1f797373fe27e5f7ad578907763b5975 100644 (file)
@@ -153,7 +153,7 @@ def teardown_module():
 
     try:
         # Stop toplogy and Remove tmp files
-        tgen.stop_topology
+        tgen.stop_topology()
 
     except OSError:
         # OSError exception is raised when mininet tries to stop switch
index b78fd235d76475e58e155a03a1d775c8be2ead4b..a6b993d147af8c126256a0914929729d3b9bb031 100644 (file)
@@ -153,7 +153,7 @@ def teardown_module():
 
     try:
         # Stop toplogy and Remove tmp files
-        tgen.stop_topology
+        tgen.stop_topology()
 
     except OSError:
         # OSError exception is raised when mininet tries to stop switch
index f4e366031f44bbd7e55bf167e5afdaf6a6ea70f3..0d3baeb15d02803cc1fca613d3b6342888c86e16 100644 (file)
@@ -153,7 +153,7 @@ def teardown_module():
 
     try:
         # Stop toplogy and Remove tmp files
-        tgen.stop_topology
+        tgen.stop_topology()
 
     except OSError:
         # OSError exception is raised when mininet tries to stop switch