##// END OF EJS Templates
Tests rewrite for 1.2 added some globals configs to make tests easier....
Tests rewrite for 1.2 added some globals configs to make tests easier. Fixed search index_location to take from configuration files now fixed git http_user_agent bug

File last commit:

r628:dd06bdf9 default
r688:8acbfa83 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...