changeset 5209:aacc82d4a967

tests: remove hardcoded reference to GIT_REPO
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Sat, 20 Jun 2015 22:10:05 +0200
parents b8c657874b7a
children ac5d236a995a
files kallithea/tests/functional/test_admin_repos.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/tests/functional/test_admin_repos.py	Sat Jun 20 22:07:56 2015 +0200
+++ b/kallithea/tests/functional/test_admin_repos.py	Sat Jun 20 22:10:05 2015 +0200
@@ -525,7 +525,7 @@
         self.log_user()
         repo = Repository.get_by_repo_name(self.REPO)
         response = self.app.get(url('edit_repo_advanced', repo_name=self.REPO))
-        opt = """<option value="%s">vcs_test_git</option>""" % repo.repo_id
+        opt = """<option value="%s">%s</option>""" % (repo.repo_id, self.REPO)
         response.mustcontain(no=[opt])
 
     def test_set_fork_of_other_repo(self):