Files @ af049a957506
Branch filter:

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

Marcin Kuzminski
fixed default permissions population during upgrades
- it often happen that introducing new permission
caused default permission to reset it's state to installation
default.
new version makes sure that only missing permissions are
created while leaving old defaults
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...