Files @ c177f304eb40
Branch filter:

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

Mads Kiilerich
files: accept URLs with no path and no slash after the revision

This kind of URLs will frequently be edited by hand and trailing slashes are
usually just ignored.
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)