summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-01-14 13:26:37 +0100
committerChristian Breunig <christian@breunig.cc>2023-01-14 13:26:37 +0100
commit1ccbaa9742a587e65aea7cde0344494a6137343a (patch)
tree5ddf890c786a84ec9f041f479793a3b296460548 /smoketest/scripts
parent7b87667a7f5a8651827d193abe623577b37ed959 (diff)
downloadvyos-1x-1ccbaa9742a587e65aea7cde0344494a6137343a.tar.gz
vyos-1x-1ccbaa9742a587e65aea7cde0344494a6137343a.zip
ospf: T4934: bugfix AssertionError in smoketest for area 10 network
This fixes commit 20f448d16c ("T4934: ospf: Fix inter-area route summarization") where an assert was present for a CLI option that was missing to be set causing tests to fail.
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_ospf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospf.py b/smoketest/scripts/cli/test_protocols_ospf.py
index ec434e7d0..581959b15 100755
--- a/smoketest/scripts/cli/test_protocols_ospf.py
+++ b/smoketest/scripts/cli/test_protocols_ospf.py
@@ -95,7 +95,7 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase):
self.assertIn(f' default-metric {metric}', frrconfig)
self.assertIn(f' passive-interface default', frrconfig)
self.assertIn(f' area 10 stub', frrconfig)
- self.assertIn(f' area 10 network 10.0.0.0/16', frrconfig)
+ self.assertIn(f' network 10.0.0.0/16 area 10', frrconfig)
self.assertIn(f' area 10 range 10.0.1.0/24', frrconfig)
self.assertNotIn(f' area 10 range 10.0.1.0/24 not-advertise', frrconfig)
self.assertIn(f' area 10 range 10.0.2.0/24 not-advertise', frrconfig)