summaryrefslogtreecommitdiffhomepage
path: root/test/unit.py
diff options
context:
space:
mode:
authorAndrey Zelenkov <zelenkov@nginx.com>2018-01-10 19:41:53 +0300
committerAndrey Zelenkov <zelenkov@nginx.com>2018-01-10 19:41:53 +0300
commit138727ec46d98ed6505123e1dfe419b8864ad36f (patch)
treeb6ad1a4d478b7b2f41c58578ac8eb76f3a3d8e81 /test/unit.py
parente8aada94de284384d6cc9a3e580ef61ed80f4471 (diff)
downloadunit-138727ec46d98ed6505123e1dfe419b8864ad36f.tar.gz
unit-138727ec46d98ed6505123e1dfe419b8864ad36f.tar.bz2
Tests: remove temporary folder when module not found.
Diffstat (limited to '')
-rw-r--r--test/unit.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/unit.py b/test/unit.py
index 0860d134..6b567d10 100644
--- a/test/unit.py
+++ b/test/unit.py
@@ -47,6 +47,7 @@ class TestUnit(unittest.TestCase):
ret = module
self._stop()
+ shutil.rmtree(self.testdir)
return ret