diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2024-06-18 15:52:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-18 15:52:38 -0400 |
| commit | a1b21f526ad5d6807b39d3569845b0cb25b4d1bf (patch) | |
| tree | 390c8c2096f4c2a964a6d8bb50c5ab2167c77ae5 /tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py | |
| parent | c7276d1580126be366fc8669909c02a7f4368fd3 (diff) | |
| parent | 8381dbd9e258825daff4802c4c44b3d435a7b7e3 (diff) | |
Merge pull request #16227 from y-bharath14/srib-topotest-e
tests: Avoid importing unused modules
Diffstat (limited to 'tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py')
| -rw-r--r-- | tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py b/tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py index 0b2937c12a..dc47527c74 100644 --- a/tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py +++ b/tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py @@ -15,7 +15,6 @@ test_zebra_multiple_connected.py: Testing multiple connected """ import os -import re import sys import pytest import json @@ -29,7 +28,6 @@ sys.path.append(os.path.join(CWD, "../")) # Import topogen and topotest helpers from lib import topotest from lib.topogen import Topogen, TopoRouter, get_topogen -from lib.topolog import logger # Required to instantiate the topology builder class. @@ -157,7 +155,7 @@ def test_zebra_noprefix_connected(): test_func = partial( topotest.router_output_cmp, router, "show ip route 192.168.44.0/24", expected ) - result, diff = topotest.run_and_expect(test_func, "", count=20, wait=1) + result, _ = topotest.run_and_expect(test_func, "", count=20, wait=1) assert result, "Connected Route should not have been added" |
