summaryrefslogtreecommitdiff
path: root/tests/topotests/srv6_static_route/test_srv6_route.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/srv6_static_route/test_srv6_route.py')
-rwxr-xr-xtests/topotests/srv6_static_route/test_srv6_route.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/topotests/srv6_static_route/test_srv6_route.py b/tests/topotests/srv6_static_route/test_srv6_route.py
index 7a4cd39f2d..f23e199d4a 100755
--- a/tests/topotests/srv6_static_route/test_srv6_route.py
+++ b/tests/topotests/srv6_static_route/test_srv6_route.py
@@ -55,7 +55,7 @@ def setup_module(mod):
tgen.start_router()
-def teardown_module(mod):
+def teardown_module():
tgen = get_topogen()
tgen.stop_topology()
@@ -74,7 +74,7 @@ def test_srv6_static_route():
def check_srv6_static_route(router, expected_file):
func = functools.partial(_check_srv6_static_route, router, expected_file)
- success, result = topotest.run_and_expect(func, None, count=15, wait=1)
+ _, result = topotest.run_and_expect(func, None, count=15, wait=1)
assert result is None, "Failed"
# FOR DEVELOPER: