Files @ 6b934c9607e7
Branch filter:

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

Marcin Kuzminski
Improved testing scenarios. Made test env creator
Fixed hg_model error message
some other tweeks and fixes
Models fixe for uniq email, and removed some extra not needed imports from model main module
1
2
3
4
5
6
7
8
9
from pylons_app.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...