utils_tests.py: Remove base_logdir at the end of the test

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 2228371e
......@@ -2,6 +2,7 @@ import os
import sys
import time
import tempfile
import shutil
if sys.version_info[:2] == (2, 6):
import unittest2 as unittest
......@@ -150,6 +151,8 @@ class ProcessTest(unittest.TestCase):
self.assertEqual(result.exit_status, 0, 'result: %s' % result)
self.assertIn('load average', result.stdout)
def tearDown(self):
shutil.rmtree(self.base_logdir)
if __name__ == '__main__':
unittest.main()
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册