Files @ d2d35cf2b351
Branch filter:

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

Marcin Kuzminski
RhodeCode now has a option to explicitly set forking permissions. ref #508
- changed the way permissons on users groups behave. Now explicit set on user
is more important than permission set on users group
from rhodecode.tests import *

class TestFollowersController(TestController):

    def test_index(self):
        self.log_user()
        repo_name = HG_REPO
        response = self.app.get(url(controller='followers',
                                    action='followers',
                                    repo_name=repo_name))

        self.assertTrue("""test_admin""" in response.body)
        self.assertTrue("""Started following""" in response.body)