diff options
author | Andrey Zelenkov <zelenkov@nginx.com> | 2018-01-10 19:41:53 +0300 |
---|---|---|
committer | Andrey Zelenkov <zelenkov@nginx.com> | 2018-01-10 19:41:53 +0300 |
commit | 138727ec46d98ed6505123e1dfe419b8864ad36f (patch) | |
tree | b6ad1a4d478b7b2f41c58578ac8eb76f3a3d8e81 | |
parent | e8aada94de284384d6cc9a3e580ef61ed80f4471 (diff) | |
download | unit-138727ec46d98ed6505123e1dfe419b8864ad36f.tar.gz unit-138727ec46d98ed6505123e1dfe419b8864ad36f.tar.bz2 |
Tests: remove temporary folder when module not found.
-rw-r--r-- | test/unit.py | 1 |
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
|