##// END OF EJS Templates
Journal Should not return 500 errors on failure, rather better is to return bad request error
Journal Should not return 500 errors on failure, rather better is to return bad request error

File last commit:

r628:dd06bdf9 default
r1175:8c0a57a4 beta
Show More
test_admin.py
9 lines | 311 B | text/x-python | PythonLexer
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...