diff --git a/tests/__init__.py b/tests/__init__.py index 92d9f81..e298dd4 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -138,7 +138,7 @@ class Modeltests(unittest.TestCase): shutil.rmtree(self.gitrepo) if self.gitrepos: - for repo in self.gitrepo: + for repo in self.gitrepos: if os.path.exists(repo): shutil.rmtree(repo) diff --git a/tests/test_progit_flask_ui_app.py b/tests/test_progit_flask_ui_app.py index cfc9795..ad92894 100644 --- a/tests/test_progit_flask_ui_app.py +++ b/tests/test_progit_flask_ui_app.py @@ -94,7 +94,7 @@ class ProgitFlaskApptests(tests.Modeltests): self.assertTrue('

Forks (0)

' in output.data) tests.create_projects(self.session) - self.gitrepo = tests.create_projects_git( + self.gitrepos = tests.create_projects_git( progit.APP.config['GIT_FOLDER']) output = self.app.get('/user/pingou?repopage=abc&forkpage=def')