summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/cli/test_service_snmp.py6
1 files 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):