From 293dcb8e91ed43a0509ed5d8c772fb4d366d0f5b Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Mar 02 2015 14:36:40 +0000 Subject: Fix typos related to the possibility to store one or more git repos --- 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')