From cb45b4bf9e546b70d6a78fb60d6691ce825af58c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 24 May 2021 20:50:27 +0200 Subject: smoketest: isis: test verify() - net and interface must be set --- smoketest/scripts/cli/test_protocols_isis.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'smoketest/scripts/cli/test_protocols_isis.py') diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py index a5150178a..02521f040 100755 --- a/smoketest/scripts/cli/test_protocols_isis.py +++ b/smoketest/scripts/cli/test_protocols_isis.py @@ -58,6 +58,12 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase): self.cli_set(['policy', 'route-map', route_map, 'rule', rule, 'action', 'permit']) self.cli_set(['policy', 'route-map', route_map, 'rule', rule, 'match', 'ip', 'address', 'prefix-list', prefix_list]) + self.cli_set(base_path) + + # verify() - net id and interface are mandatory + with self.assertRaises(ConfigSessionError): + self.cli_commit() + self.isis_base_config() self.cli_set(base_path + ['redistribute', 'ipv4', 'connected', 'level-2', 'route-map', route_map]) -- cgit v1.2.3