Files @ b70c6652a0d4
Branch filter:

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

Marcin Kuzminski
fixed issue #644 When a user is both in read and write group, the permission taken in account is the last saved permission
- added configurable parameters to permission class with two algorithms, higherwin and lowerwin.
- default is set now to higherwin, later we'll make that configurable
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestChangesetController(TestController):

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