Mercurial > kallithea
diff rhodecode/tests/functional/test_forks.py @ 3550:7abbb77b02d0 beta
Repo size - show just the size without duplicating text
bring back numeric revision into changelog
Fixed tests
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Wed, 20 Mar 2013 16:21:34 +0100 |
parents | f4ce9416cbd5 |
children | a8f2d78d14ea |
line wrap: on
line diff
--- a/rhodecode/tests/functional/test_forks.py Tue Mar 19 23:43:40 2013 +0100 +++ b/rhodecode/tests/functional/test_forks.py Wed Mar 20 16:21:34 2013 +0100 @@ -109,7 +109,7 @@ org_repo = Repository.get_by_repo_name(repo_name) response = self.app.post(url(controller='forks', action='fork_create', repo_name=repo_name), - {'repo_name':fork_name, + {'repo_name': fork_name, 'repo_group':'', 'fork_parent_id':org_repo.repo_id, 'repo_type':'hg', @@ -119,7 +119,8 @@ #test if we have a message that fork is ok self.checkSessionFlash(response, - 'forked %s repository as %s' % (repo_name, fork_name)) + 'forked repository %s as <a href="/%s">%s</a>' + % (repo_name, fork_name, fork_name)) #test if the fork was created in the database fork_repo = Session().query(Repository)\