diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-02-17 21:21:54 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-02-17 21:21:54 +0100 |
commit | b6000fb7e48d049ce78afbdbeaa24d91c85f0191 (patch) | |
tree | a78aabdb75f340cb15b6efb0780272238d2ca766 | |
parent | 13686def7e7370ff910abce20b744f5ded932718 (diff) | |
download | vyos-1x-b6000fb7e48d049ce78afbdbeaa24d91c85f0191.tar.gz vyos-1x-b6000fb7e48d049ce78afbdbeaa24d91c85f0191.zip |
ssh: clean out current configuration in setUp()
-rwxr-xr-x | scripts/cli/test_service_ssh.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/cli/test_service_ssh.py b/scripts/cli/test_service_ssh.py index e882b8f0a..43656be9b 100755 --- a/scripts/cli/test_service_ssh.py +++ b/scripts/cli/test_service_ssh.py @@ -38,11 +38,11 @@ class TestServiceSSH(unittest.TestCase): env = self.session.get_session_env() self.config = Config(session_env=env) - def tearDown(self): - # Delete SSH configuration + # ensure we can also run this test on a live system - so lets clean + # out the current configuration :) self.session.delete(base_path) - self.session.commit() + def tearDown(self): del self.session def test_ssh(self): |