From b6000fb7e48d049ce78afbdbeaa24d91c85f0191 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 17 Feb 2020 21:21:54 +0100 Subject: ssh: clean out current configuration in setUp() --- scripts/cli/test_service_ssh.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'scripts/cli/test_service_ssh.py') 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): -- cgit v1.2.3