# HG changeset patch # User Marcin Kuzminski # Date 1359671036 -3600 # Node ID f4ce9416cbd5bc27eea67f94b773af0023696e5c # Parent e4025b361fcfc924e93f503cd262e3d9f72d936c fixed tests diff -r e4025b361fcf -r f4ce9416cbd5 rhodecode/tests/functional/test_forks.py --- a/rhodecode/tests/functional/test_forks.py Thu Jan 31 23:20:28 2013 +0100 +++ b/rhodecode/tests/functional/test_forks.py Thu Jan 31 23:23:56 2013 +0100 @@ -66,7 +66,7 @@ repo_name=repo_name)) response.mustcontain( - """%s""" % (fork_name, fork_name) + """%s""" % (fork_name, fork_name) ) #remove this fork @@ -95,7 +95,7 @@ repo_name=repo_name)) response.mustcontain( - """%s""" % (fork_name, fork_name) + """%s""" % (fork_name, fork_name) ) #remove this fork diff -r e4025b361fcf -r f4ce9416cbd5 rhodecode/tests/functional/test_home.py --- a/rhodecode/tests/functional/test_home.py Thu Jan 31 23:20:28 2013 +0100 +++ b/rhodecode/tests/functional/test_home.py Thu Jan 31 23:23:56 2013 +0100 @@ -15,7 +15,7 @@ response = self.app.get(url(controller='home', action='index')) #if global permission is set response.mustcontain('Add repository') - response.mustcontain('href="/%s/summary"' % HG_REPO) + response.mustcontain('href="/%s"' % HG_REPO) response.mustcontain("""""" % HG_REPO) - response.mustcontain("""""" % ID) + response.mustcontain('''id="clone_url" readonly="readonly" value="http://test_admin@localhost:80/%s"''' % HG_REPO) + response.mustcontain('''id="clone_url_id" readonly="readonly" value="http://test_admin@localhost:80/_%s"''' % ID) def test_index_git(self): self.log_user() @@ -67,8 +67,8 @@ ) # clone url... - response.mustcontain("""""" % GIT_REPO) - response.mustcontain("""""" % ID) + response.mustcontain('''id="clone_url" readonly="readonly" value="http://test_admin@localhost:80/%s"''' % GIT_REPO) + response.mustcontain('''id="clone_url_id" readonly="readonly" value="http://test_admin@localhost:80/_%s"''' % ID) def test_index_by_id_hg(self): self.log_user()