Mercurial > kallithea
view rhodecode/tests/functional/test_home.py @ 1146:cb77867d69d3
fixed changelog release date
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 17 Mar 2011 21:34:21 +0100 |
parents | 7486da5f0628 |
children | 0765fd5bf668 |
line wrap: on
line source
from rhodecode.tests import * class TestHomeController(TestController): def test_index(self): self.log_user() response = self.app.get(url(controller='home', action='index')) #if global permission is set assert 'ADD NEW REPOSITORY' in response.body, 'Wrong main page' assert 'href="/%s/summary"' % HG_REPO in response.body, ' mising repository in list' # Test response...