diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-04-03 14:58:59 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-04-03 14:58:59 +0200 |
commit | c3afde482f020b9bde983c7e1a34387016e6969a (patch) | |
tree | 92d04b7a9d6f89b55e2e6ba79b33c8a244a0f1eb /smoketest/scripts/cli/test_protocols_ospf.py | |
parent | 8fb6e715d32e7eff77e413d8577059dd55b24c0a (diff) | |
download | vyos-1x-c3afde482f020b9bde983c7e1a34387016e6969a.tar.gz vyos-1x-c3afde482f020b9bde983c7e1a34387016e6969a.zip |
smoketest: ospf(v3): ensure we can also run this test on a live system
Diffstat (limited to 'smoketest/scripts/cli/test_protocols_ospf.py')
-rwxr-xr-x | smoketest/scripts/cli/test_protocols_ospf.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_protocols_ospf.py b/smoketest/scripts/cli/test_protocols_ospf.py index 5d8e9cff2..e433d06d0 100755 --- a/smoketest/scripts/cli/test_protocols_ospf.py +++ b/smoketest/scripts/cli/test_protocols_ospf.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 @@ -40,6 +40,10 @@ class TestProtocolsOSPF(VyOSUnitTestSHIM.TestCase): cls.cli_set(cls, ['policy', 'route-map', route_map, 'rule', '10', 'action', 'permit']) cls.cli_set(cls, ['policy', 'route-map', route_map, 'rule', '20', 'action', 'permit']) + # ensure we can also run this test on a live system - so lets clean + # out the current configuration :) + cls.cli_delete(cls, base_path) + @classmethod def tearDownClass(cls): cls.cli_delete(cls, ['policy', 'route-map', route_map]) |