summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-04-03 13:28:11 +0200
committerChristian Poessinger <christian@poessinger.com>2022-04-03 13:28:11 +0200
commite66c5a56905a7370be0e14cd34aee608c7e7b54a (patch)
tree929cd29eaabff53d38af1c8d75e313d9b7aa3f30 /smoketest/scripts/cli
parentabdd80c7387e0b819aba5e74777695421fcb70bf (diff)
downloadvyos-1x-e66c5a56905a7370be0e14cd34aee608c7e7b54a.tar.gz
vyos-1x-e66c5a56905a7370be0e14cd34aee608c7e7b54a.zip
smoketest: isis: support running on live systems
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_protocols_isis.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_protocols_isis.py b/smoketest/scripts/cli/test_protocols_isis.py
index b83c751bc..11c765793 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 VyOS maintainers and contributors
+# Copyright (C) 2021-2022 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
@@ -35,6 +35,10 @@ class TestProtocolsISIS(VyOSUnitTestSHIM.TestCase):
# call base-classes classmethod
super(cls, cls).setUpClass()
+ # ensure we can also run this test on a live system - so lets clean
+ # out the current configuration :)
+ cls.cli_delete(cls, base_path)
+
def tearDown(self):
self.cli_delete(base_path)
self.cli_commit()