Files @ 4c71667160e5
Branch filter:

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

Marcin Kuzminski
use os.environ as a fallback for getting special info from hooks, this will allow
calling RhodeCode hooks from outside the system eg. via SSH
- also verify repo if it's a correct VCS throw 404 error otherwise
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...