##// END OF EJS Templates
Removed config names from whoosh and celery,...
Removed config names from whoosh and celery, celery is now configured based on the config name it's using on celeryconfig. And whoosh uses it's own logger configured just for whoosh Test creates a fresh whoosh index now, for more accurate checks fixed tests for searching

File last commit:

r473:6b934c96 celery
r483:a9e50dce 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...