From 82db2cd11fe50c04137d39e68066fa0d765d7b8d Mon Sep 17 00:00:00 2001 From: Martin Winter Date: Tue, 31 Jan 2023 16:10:04 +0100 Subject: [PATCH] tests: Fix wrong tgen.stop_topology() calls which got skipped Calls were missing the () and caused the stop_topology() to be skipped Signed-off-by: Martin Winter --- tests/topotests/ospf_basic_functionality/test_ospf_lan.py | 2 +- tests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py | 2 +- tests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py | 2 +- tests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py index 80ca0c8b04..773e83bd95 100644 --- a/tests/topotests/ospf_basic_functionality/test_ospf_lan.py +++ b/tests/topotests/ospf_basic_functionality/test_ospf_lan.py @@ -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 diff --git a/tests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py b/tests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py index a7ab29d791..f72cac4f1f 100644 --- a/tests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py +++ b/tests/topotests/ospf_gr_helper/test_ospf_gr_helper1.py @@ -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 diff --git a/tests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py b/tests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py index b78fd235d7..a6b993d147 100644 --- a/tests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py +++ b/tests/topotests/ospf_gr_helper/test_ospf_gr_helper2.py @@ -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 diff --git a/tests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py b/tests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py index f4e366031f..0d3baeb15d 100644 --- a/tests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py +++ b/tests/topotests/ospf_gr_helper/test_ospf_gr_helper3.py @@ -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 -- 2.39.5