##// END OF EJS Templates
Major rewrite of auth objects. Moved parts of filling user data into user model....
Major rewrite of auth objects. Moved parts of filling user data into user model. Rewrote AuthUser adding access by api key.

File last commit:

r628:dd06bdf9 default
r1117:6eb5bb24 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...