Files @ 12ceeda33339
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_shortlog.py - annotation

Marcin Kuzminski
#404 API extensions for showing permission for users
- added permissions to get_user function
- added last_login to get_user and get_users function
- modified custom JSON encoder to handle non standard python types, like set, OrderedDict, datetime, date
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestShortlogController(TestController):

    def test_index(self):
        self.log_user()
        response = self.app.get(url(controller='shortlog', action='index',repo_name=HG_REPO))
        # Test response...