diff --git a/rhodecode/tests/functional/test_forks.py b/rhodecode/tests/functional/test_forks.py
--- a/rhodecode/tests/functional/test_forks.py
+++ b/rhodecode/tests/functional/test_forks.py
@@ -66,7 +66,7 @@ class TestForksController(TestController
repo_name=repo_name))
response.mustcontain(
- """%s""" % (fork_name, fork_name)
+ """%s""" % (fork_name, fork_name)
)
#remove this fork
@@ -95,7 +95,7 @@ class TestForksController(TestController
repo_name=repo_name))
response.mustcontain(
- """%s""" % (fork_name, fork_name)
+ """%s""" % (fork_name, fork_name)
)
#remove this fork
diff --git a/rhodecode/tests/functional/test_home.py b/rhodecode/tests/functional/test_home.py
--- a/rhodecode/tests/functional/test_home.py
+++ b/rhodecode/tests/functional/test_home.py
@@ -15,7 +15,7 @@ class TestHomeController(TestController)
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 @@ class TestSummaryController(TestControll
)
# 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()