test_admin.py
9 lines
| 323 B
| text/x-python
|
PythonLexer
r43 | from pylons_app.tests import * | |||
class TestAdminController(TestController): | ||||
def test_index(self): | ||||
r473 | self.log_user() | |||
r459 | response = self.app.get(url(controller='admin/admin', action='index')) | |||
r473 | assert 'Admin dashboard - journal' in response.body,'No proper title in dashboard' | |||
r43 | # Test response... | |||