summaryrefslogtreecommitdiff
path: root/smoketest/scripts
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-03-22 21:07:59 +0100
committerGitHub <noreply@github.com>2024-03-22 21:07:59 +0100
commitdb08b6bd2300b125541e7eaa35e98ae5a2225111 (patch)
tree4969f0ca2e457bfe11350d43e102d18d361b4d57 /smoketest/scripts
parent7d2fd9ab4e7ee085b27130b54efa888a38faf566 (diff)
parent78212414e085d6261a32015553eb3e407f77792f (diff)
downloadvyos-1x-db08b6bd2300b125541e7eaa35e98ae5a2225111.tar.gz
vyos-1x-db08b6bd2300b125541e7eaa35e98ae5a2225111.zip
Merge pull request #3169 from c-po/isis-T6160
isis: T6160: NameError: name 'process' is not defined
Diffstat (limited to 'smoketest/scripts')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_isis.py8
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 aa5f2f38c..0fd18a6da 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'])