Files @ 2d22c0da2c43
Branch filter:

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

Mads Kiilerich
top menu: 'Repositories' is really also a 'Home' button

'Repositories' had a href="#" but it wasn't used - the sub menu is loaded and
shown when hovering.

The '/' front page is a more verbose view of repositories. It thus make sense
to let 'Repositories' point there.
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)