Files @ 3072935bdeed
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_admin.py - annotation

Marcin Kuzminski
rewrote whoosh indexing to run internal repository.walk() instead of filesystem.
Disabled default hg update hook (not needed since whoosh is not dependent on file system files to index)
1
2
3
4
5
6
7
8
9
from rhodecode.tests import *

class TestAdminController(TestController):

    def test_index(self):
        self.log_user()
        response = self.app.get(url(controller='admin/admin', action='index'))
        assert 'Admin dashboard - journal' in response.body,'No proper title in dashboard'
        # Test response...