# HG changeset patch
# User Thomas De Schampheleire <[email protected]>
# Date 1434831005 -7200
#      Sat Jun 20 22:10:05 2015 +0200
# Node ID 153ef33bf4ee2d0067825618e1c0f53f37b3d071
# Parent  63ba8bff3323c303944c1fef9cf57eecd49890fa
tests: remove hardcoded reference to GIT_REPO

diff --git a/kallithea/tests/functional/test_admin_repos.py 
b/kallithea/tests/functional/test_admin_repos.py
--- a/kallithea/tests/functional/test_admin_repos.py
+++ b/kallithea/tests/functional/test_admin_repos.py
@@ -525,7 +525,7 @@ class _BaseTest(object):
         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):
_______________________________________________
kallithea-general mailing list
[email protected]
http://lists.sfconservancy.org/mailman/listinfo/kallithea-general

Reply via email to