diff --git a/tests/test_progit_flask_ui_fork.py b/tests/test_progit_flask_ui_fork.py
index 2636e17..da5f035 100644
--- a/tests/test_progit_flask_ui_fork.py
+++ b/tests/test_progit_flask_ui_fork.py
@@ -576,6 +576,8 @@ class PagureFlaskForktests(tests.Modeltests):
'
Pull request #1 - test - Pagure', output.data)
self.assertTrue(output.data.count(''), 1)
+ shutil.rmtree(newpath)
+
@patch('pagure.lib.notify.send_email')
def test_request_pull_empty_fork(self, send_email):
""" Test the request_pull endpoint from an empty fork. """
@@ -633,6 +635,8 @@ class PagureFlaskForktests(tests.Modeltests):
'Fork is empty, there are no commits to '
'request pulling', output.data)
+ shutil.rmtree(newpath)
+
@patch('pagure.lib.notify.send_email')
def test_request_pulls(self, send_email):
""" Test the request_pulls endpoint. """
@@ -898,6 +902,8 @@ index 0000000..2a552bb
#print patch
self.assertEqual(patch, exp)
+ shutil.rmtree(newpath)
+
@patch('pagure.lib.notify.send_email')
def test_request_pull_patch_empty_fork(self, send_email):
""" Test the request_pull_patch endpoint from an empty fork. """
@@ -955,6 +961,8 @@ index 0000000..2a552bb
'Fork is empty, there are no commits to '
'request pulling', output.data)
+ shutil.rmtree(newpath)
+
@patch('pagure.lib.notify.send_email')
def test_cancel_request_pull(self, send_email):
""" Test the cancel_request_pull endpoint. """
@@ -1355,6 +1363,8 @@ index 0000000..2a552bb
'Fork is empty, there are no commits to '
'request pulling', output.data)
+ shutil.rmtree(newpath)
+
@patch('pagure.lib.notify.send_email')
def test_new_request_pull_empty_fork(self, send_email):
""" Test the new_request_pull endpoint against an empty repo. """
@@ -1388,6 +1398,8 @@ index 0000000..2a552bb
'Fork is empty, there are no commits to '
'request pulling', output.data)
+ shutil.rmtree(newpath)
+
@patch('pagure.lib.notify.send_email')
def test_pull_request_add_comment(self, send_email):
""" Test the pull_request_add_comment endpoint. """