##// END OF EJS Templates
My account pages shouldn't be accessible by anonymous users
My account pages shouldn't be accessible by anonymous users

File last commit:

r628:dd06bdf9 default
r2626:4abce2c1 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...