Mercurial > kallithea
view rhodecode/tests/functional/test_home.py @ 769:4bdcc08b04c4 beta
fixes #77 moved out ldap config to it's own section
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 26 Nov 2010 09:32:40 +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...