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( - """<a href="/%s/summary">%s</a>""" % (fork_name, fork_name) + """<a href="/%s">%s</a>""" % (fork_name, fork_name) ) #remove this fork @@ -95,7 +95,7 @@ class TestForksController(TestController repo_name=repo_name)) response.mustcontain( - """<a href="/%s/summary">%s</a>""" % (fork_name, fork_name) + """<a href="/%s">%s</a>""" % (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("""<img class="icon" title="Mercurial repository" """ """alt="Mercurial repository" src="/images/icons/hg""" diff --git a/rhodecode/tests/functional/test_search.py b/rhodecode/tests/functional/test_search.py --- a/rhodecode/tests/functional/test_search.py +++ b/rhodecode/tests/functional/test_search.py @@ -56,7 +56,7 @@ class TestSearchController(TestControlle def test_search_commit_message_hg_repo(self): self.log_user() response = self.app.get(url(controller='search', action='index', - search_repo=HG_REPO), + repo_name=HG_REPO), {'q': 'bother to ask where to fetch repo during tests', 'type': 'commit'}) diff --git a/rhodecode/tests/functional/test_summary.py b/rhodecode/tests/functional/test_summary.py --- a/rhodecode/tests/functional/test_summary.py +++ b/rhodecode/tests/functional/test_summary.py @@ -44,8 +44,8 @@ class TestSummaryController(TestControll ) # clone url... - response.mustcontain("""<input style="width:80%%;margin-left:105px" type="text" id="clone_url" readonly="readonly" value="http://test_admin@localhost:80/%s"/>""" % HG_REPO) - response.mustcontain("""<input style="display:none;width:80%%;margin-left:105px" type="text" id="clone_url_id" readonly="readonly" value="http://test_admin@localhost:80/_%s"/>""" % 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("""<input style="width:80%%;margin-left:105px" type="text" id="clone_url" readonly="readonly" value="http://test_admin@localhost:80/%s"/>""" % GIT_REPO) - response.mustcontain("""<input style="display:none;width:80%%;margin-left:105px" type="text" id="clone_url_id" readonly="readonly" value="http://test_admin@localhost:80/_%s"/>""" % 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()