Files @ 6f44b6d5aa60
Branch filter:

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

Marcin Kuzminski
added comments into beaker session,
- added cookie_path option as example
- added prefix middleware as example usage
- increased session timeout to 30days
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 journal' in response.body, 'No proper title in dashboard'
        # Test response...