##// END OF EJS Templates
Improved testing scenarios. Made test env creator...
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

File last commit:

r473:6b934c96 celery
r473:6b934c96 celery
Show More
test_admin.py
9 lines | 323 B | text/x-python | PythonLexer
changed for pylons 0.1 / 1.0...
r43 from pylons_app.tests import *
class TestAdminController(TestController):
def test_index(self):
Improved testing scenarios. Made test env creator...
r473 self.log_user()
implemented basic (startup) nose test suite.
r459 response = self.app.get(url(controller='admin/admin', action='index'))
Improved testing scenarios. Made test env creator...
r473 assert 'Admin dashboard - journal' in response.body,'No proper title in dashboard'
changed for pylons 0.1 / 1.0...
r43 # Test response...