From 963825a3a32e3bff4f298b2accf2b7e3ed13b91b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Mon, 17 Feb 2020 21:22:37 +0100 Subject: snmp: clean out current configuration in setUp() --- scripts/cli/test_service_snmp.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/cli/test_service_snmp.py b/scripts/cli/test_service_snmp.py index e46b4b588..d2e5fff27 100755 --- a/scripts/cli/test_service_snmp.py +++ b/scripts/cli/test_service_snmp.py @@ -39,11 +39,11 @@ class TestSNMPService(unittest.TestCase): env = self.session.get_session_env() self.config = Config(session_env=env) - def tearDown(self): - # Delete SNNP 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_snmp(self): -- cgit v1.2.3