summaryrefslogtreecommitdiff
path: root/tests/topotests/lib/checkping.py
diff options
context:
space:
mode:
authorY Bharath <y.bharath@samsung.com>2024-06-15 22:36:32 +0530
committerY Bharath <y.bharath@samsung.com>2024-06-17 15:42:59 +0530
commit8381dbd9e258825daff4802c4c44b3d435a7b7e3 (patch)
tree9e2884a629e76f7b68ea9e40a98c6db7b5411814 /tests/topotests/lib/checkping.py
parent045029e2442dbca3b6e7685438d171fa05c0f968 (diff)
tests: Avoid importing unused modules
Signed-off-by: y-bharath14 <y.bharath@samsung.com>
Diffstat (limited to 'tests/topotests/lib/checkping.py')
-rw-r--r--tests/topotests/lib/checkping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/topotests/lib/checkping.py b/tests/topotests/lib/checkping.py
index 5500807fab..aa95f45b29 100644
--- a/tests/topotests/lib/checkping.py
+++ b/tests/topotests/lib/checkping.py
@@ -33,5 +33,5 @@ def check_ping(name, dest_addr, expect_connected, count, wait, source_addr=None)
logger.info("[+] check {} {} {}".format(name, dest_addr, match))
tgen = get_topogen()
func = functools.partial(_check, name, dest_addr, source_addr, match)
- success, result = topotest.run_and_expect(func, None, count=count, wait=wait)
+ _, result = topotest.run_and_expect(func, None, count=count, wait=wait)
assert result is None, "Failed"