summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2020-10-01 21:49:03 +0200
committerGitHub <noreply@github.com>2020-10-01 21:49:03 +0200
commitf34653de8ab6019d972632b8101d52155db0288b (patch)
tree3810e7eb592f4678d68662f9facb8274d12afe8a
parent0b1dc328a919ac0130b36d89a33a6fb723ae8fb5 (diff)
parent207c9fb4a1f8bf4a155167e2b077116274e83474 (diff)
Merge pull request #7221 from mjstapp/fix_topo_all_circuit
tests: fix regex in all_proto test
-rw-r--r--tests/topotests/all-protocol-startup/test_all_protocol_startup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/topotests/all-protocol-startup/test_all_protocol_startup.py b/tests/topotests/all-protocol-startup/test_all_protocol_startup.py
index 32b219283b..4b57928366 100644
--- a/tests/topotests/all-protocol-startup/test_all_protocol_startup.py
+++ b/tests/topotests/all-protocol-startup/test_all_protocol_startup.py
@@ -688,7 +688,8 @@ def test_isis_interfaces():
# Mask out SNPA mac address portion. They are random...
actual = re.sub(r"SNPA: [0-9a-f\.]+", "SNPA: XXXX.XXXX.XXXX", actual)
# Mask out Circuit ID number
- actual = re.sub(r"Circuit Id: 0x[0-9]+", "Circuit Id: 0xXX", actual)
+ actual = re.sub(r"Circuit Id: 0x[0-9a-f]+", "Circuit Id: 0xXX",
+ actual)
# Fix newlines (make them all the same)
actual = ('\n'.join(actual.splitlines()) + '\n').splitlines(1)