diff options
author | khramshinr <khramshinr@gmail.com> | 2024-03-26 19:25:56 +0800 |
---|---|---|
committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-03-26 12:34:23 +0000 |
commit | f62e67e78bae6425057a5fb57676d8b911bc9cc7 (patch) | |
tree | 7b740f8de3802759c6a8324b23e3b8d6b1cdc37d /smoketest/scripts/cli | |
parent | 25891616fd74013241dc755166c7e3ad732849cc (diff) | |
download | vyos-1x-f62e67e78bae6425057a5fb57676d8b911bc9cc7.tar.gz vyos-1x-f62e67e78bae6425057a5fb57676d8b911bc9cc7.zip |
bgp: T6106: fix test and verify()
(cherry picked from commit 2ba435fa4bc8a5c9b2285fb9215ebc582bfb5fdf)
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_bgp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_protocols_bgp.py b/smoketest/scripts/cli/test_protocols_bgp.py index 1dc865977..5f238b25a 100755 --- a/smoketest/scripts/cli/test_protocols_bgp.py +++ b/smoketest/scripts/cli/test_protocols_bgp.py @@ -1236,13 +1236,11 @@ class TestProtocolsBGP(VyOSUnitTestSHIM.TestCase): self.assertIn(f' neighbor {pg_ipv6} activate', afiv6_config) self.assertIn(f' neighbor {pg_ipv6} maximum-prefix {ipv6_max_prefix}', afiv6_config) - def test_bgp_26_commit_error(self): + def test_bgp_27_route_reflector_client(self): self.cli_set(base_path + ['peer-group', 'peer1', 'address-family', 'l2vpn-evpn', 'route-reflector-client']) with self.assertRaises(ConfigSessionError) as e: self.cli_commit() - self.assertTrue("% Invalid command. Not an internal neighbor" in str(e.exception)) - def test_bgp_99_bmp(self): target_name = 'instance-bmp' target_address = '127.0.0.1' |