Files @ 0cef54d34605
Branch filter:

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

Marcin Kuzminski
Pass in old groups data to CanWriteToGroup validator for later skipping group checks.
This will be a part of refactoring done to do user permissions changes without messing with main
repo form data
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)