Mercurial > kallithea
view rhodecode/tests/functional/test_home.py @ 1219:ca614631c2f8
fixed tests for stable
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Tue, 05 Apr 2011 20:09:34 +0200 |
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...