diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2024-03-22 22:18:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-22 22:18:06 +0200 |
commit | 9cc20ffadc74d4e5e082e9335547f6fe14492b5c (patch) | |
tree | 27ffbcce1e11da25266f3c42c3de88c0b3c9e9a6 /smoketest | |
parent | f61f9e5c31c76b33dc0a67627bab98605a2b5be4 (diff) | |
parent | ffe1086cfc259a176ebc52c8d228fde4658bd7bc (diff) | |
download | vyos-1x-9cc20ffadc74d4e5e082e9335547f6fe14492b5c.tar.gz vyos-1x-9cc20ffadc74d4e5e082e9335547f6fe14492b5c.zip |
Merge pull request #3170 from vyos/mergify/bp/sagitta/pr-3169
isis: T6160: NameError: name 'process' is not defined (backport #3169)
Diffstat (limited to 'smoketest')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_isis.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py index 94f4ec5c9..a7663a720 100755 --- a/smoketest/scripts/cli/test_protocols_isis.py +++ b/smoketest/scripts/cli/test_protocols_isis.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2021-2023 VyOS maintainers and contributors +# Copyright (C) 2021-2024 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -73,6 +73,12 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase): self.cli_commit() self.isis_base_config() + + self.cli_set(base_path + ['redistribute', 'ipv4', 'connected']) + # verify() - Redistribute level-1 or level-2 should be specified + with self.assertRaises(ConfigSessionError): + self.cli_commit() + self.cli_set(base_path + ['redistribute', 'ipv4', 'connected', 'level-2', 'route-map', route_map]) self.cli_set(base_path + ['log-adjacency-changes']) |