Files @ 4bdd0bf1b1f4
Branch filter:

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

Marcin Kuzminski
security bugfix: protected feeds, from unauthorized access, even without this, the feeds would crash and were unreadable, But proper way of securing it is with the secure decarators.
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestShortlogController(TestController):

    def test_index(self):
        self.log_user()
        response = self.app.get(url(controller='shortlog', action='index',repo_name=HG_REPO))
        # Test response...