summaryrefslogtreecommitdiff
path: root/tests/topotests/static_routing_mpls/test_static_routing_mpls.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/static_routing_mpls/test_static_routing_mpls.py')
-rw-r--r--tests/topotests/static_routing_mpls/test_static_routing_mpls.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/topotests/static_routing_mpls/test_static_routing_mpls.py b/tests/topotests/static_routing_mpls/test_static_routing_mpls.py
index c1e249cc8f..a0f11c0126 100644
--- a/tests/topotests/static_routing_mpls/test_static_routing_mpls.py
+++ b/tests/topotests/static_routing_mpls/test_static_routing_mpls.py
@@ -14,11 +14,8 @@ test_static_routing_mpls.py: Testing MPLS configuration with mpls interface sett
"""
import os
-import re
import sys
import pytest
-import json
-from functools import partial
import functools
# Save the Current Working Directory to find configuration files.
@@ -113,7 +110,7 @@ def _check_mpls_state(router, interface, configured=True):
test_func = functools.partial(
_check_mpls_state_interface, router, interface, up=configured
)
- success, result = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
+ success, _ = topotest.run_and_expect(test_func, None, count=10, wait=0.5)
return success