Module: check_mk
Branch: master
Commit: 6ecc0f6f448bc9f23a32119af89de257b28b1299
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6ecc0f6f448bc9…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Fri Apr 28 10:11:25 2017 +0200
Tests with daily version: Delete package after deleting
Change-Id: I99eb08ac564b61dacb8d9a09f11a3b7b1201d4d7
---
tests/testlib/__init__.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/testlib/__init__.py b/tests/testlib/__init__.py
index 6160dfa..c1c20a9 100644
--- a/tests/testlib/__init__.py
+++ b/tests/testlib/__init__.py
@@ -159,6 +159,8 @@ class CMKVersion(object):
if os.system(cmd) >> 8 != 0:
raise Exception("Failed to install package: %s" %
temp_package_path)
+ os.unlink(temp_package_path)
+
assert self.is_installed()