view rhodecode/tests/functional/test_admin.py @ 1514:87ec80c280bb beta

fixed issues with python2.5 added compat module to rhodecode to have one point of fetching backward incompatible libs.
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 07 Oct 2011 02:51:18 +0200
parents dd06bdf974c8
children ca2b21819dfd
line wrap: on
line source

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...