From 5d6e3db7d0ae308b1d005bcca5b10dac59045052 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Apr 21 2015 16:49:36 +0000 Subject: Drop the temporary folder after running the tests --- diff --git a/tests/test_progit_flask_ui_fork.py b/tests/test_progit_flask_ui_fork.py index 5e91c4b..c74c4af 100644 --- a/tests/test_progit_flask_ui_fork.py +++ b/tests/test_progit_flask_ui_fork.py @@ -199,6 +199,8 @@ class PagureFlaskForktests(tests.Modeltests): self.session.commit() self.assertEqual(msg, 'Request created') + shutil.rmtree(newpath) + @patch('pagure.lib.notify.send_email') def test_request_pull(self, send_email): """ Test the request_pull endpoint. """