summaryrefslogtreecommitdiffstats
path: root/tests/topotests/lib/common_config.py
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2021-07-21 15:33:50 +0200
committerChristian Hopps <chopps@labn.net>2021-09-04 15:04:46 +0200
commitc8e5983d8efa12eea0e91512802a84d46dd899e9 (patch)
treecef541c41d4cac9e0de71f946cebb3837844896f /tests/topotests/lib/common_config.py
parentdocker: update with micronet changes (diff)
downloadfrr-c8e5983d8efa12eea0e91512802a84d46dd899e9.tar.xz
frr-c8e5983d8efa12eea0e91512802a84d46dd899e9.zip
tests: fix pylint infra errors
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'tests/topotests/lib/common_config.py')
-rw-r--r--tests/topotests/lib/common_config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/topotests/lib/common_config.py b/tests/topotests/lib/common_config.py
index df0fd8363..99a3a4a87 100644
--- a/tests/topotests/lib/common_config.py
+++ b/tests/topotests/lib/common_config.py
@@ -765,8 +765,7 @@ def get_frr_ipv6_linklocal(tgen, router, intf=None, vrf=None):
ll_per_if_count = 0
# Interface ip
- m1 = re_search('inet6 (fe80[:a-fA-F0-9]+[\/0-9]+)',
- line)
+ m1 = re_search('inet6 (fe80[:a-fA-F0-9]+/[0-9]+)', line)
if m1:
local = m1.group(1)
ll_per_if_count += 1