##// END OF EJS Templates
fix for issue #602, enforce str when setting mercurial UI object. When this is used together with mercurial internal translation system...
fix for issue #602, enforce str when setting mercurial UI object. When this is used together with mercurial internal translation system it can lead to UnicodeDecodeErrors

File last commit:

r628:dd06bdf9 default
r2989:190e2ff4 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...