mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-03 20:32:22 +00:00
Merge pull request #7221 from mjstapp/fix_topo_all_circuit
tests: fix regex in all_proto test
This commit is contained in:
commit
f34653de8a
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user