From 308472b92bccf26bbb8f39eb08c72eddd69ae150 Mon Sep 17 00:00:00 2001 From: Roberto Rosario Date: Sun, 20 Mar 2016 16:35:08 -0400 Subject: [PATCH] Delete temporary directory after testing. --- mayan/apps/sources/tests/test_classes.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mayan/apps/sources/tests/test_classes.py b/mayan/apps/sources/tests/test_classes.py index 7c0bfc43fe..e3ae3395a2 100644 --- a/mayan/apps/sources/tests/test_classes.py +++ b/mayan/apps/sources/tests/test_classes.py @@ -32,3 +32,5 @@ class StagingFileTestCase(TestCase): ) self.assertEqual(filename, staging_file_2.filename) + + shutil.rmtree(temporary_directory)