##// END OF EJS Templates
fixed repo_create permission by adding missing commit statements...
fixed repo_create permission by adding missing commit statements - added few tests for checking permission in UserModel - added __json__() into get_dict() to fetch from it hybrid_properties and any additional custom properties - code garden

File last commit:

r1723:64e91067 beta
r1758:a87aa385 beta
Show More
test_settings.py
10 lines | 328 B | text/x-python | PythonLexer
from rhodecode.model.db import Repository
from rhodecode.tests import *
class TestSettingsController(TestController):
def test_index(self):
self.log_user()
response = self.app.get(url(controller='settings', action='index',
repo_name=HG_REPO))
# Test response...