summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-08-18 08:31:01 +0200
committerChristian Breunig <christian@breunig.cc>2023-08-18 08:31:05 +0200
commit0e1bc3d4e92dbb361f392bb8551be8d5b96fbdc6 (patch)
tree4691ffd113436f2b98235fad4ecb1e4981d3ba17 /smoketest/scripts/cli
parent6c00ee0c848640fe5c0d85d0a71106a7215ac902 (diff)
downloadvyos-1x-0e1bc3d4e92dbb361f392bb8551be8d5b96fbdc6.tar.gz
vyos-1x-0e1bc3d4e92dbb361f392bb8551be8d5b96fbdc6.zip
smoketest: bgp: T5466: remove trailing whitespace
Commit 77ef9f800 ("T5466: L3VPN label allocation mode") added support for a new CLI node that is added "label vpn export allocation-mode per-nexthop" to FRRs running configuration. Unfortunately the smoketest contained a trailing whitespace and the above mentioned line could not be evaluated to true.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_bgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_protocols_bgp.py b/smoketest/scripts/cli/test_protocols_bgp.py
index 85e734b8a..b34ab53c2 100755
--- a/smoketest/scripts/cli/test_protocols_bgp.py
+++ b/smoketest/scripts/cli/test_protocols_bgp.py
@@ -888,7 +888,7 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase):
self.assertIn(f' export vpn', afi_config)
self.assertIn(f' import vpn', afi_config)
self.assertIn(f' label vpn export {label}', afi_config)
- self.assertIn(f' label vpn export allocation-mode per-nexthop ', afi_config)
+ self.assertIn(f' label vpn export allocation-mode per-nexthop', afi_config)
self.assertIn(f' rd vpn export {rd}', afi_config)
self.assertIn(f' route-map vpn export {route_map_out}', afi_config)
self.assertIn(f' route-map vpn import {route_map_in}', afi_config)