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. """