Files @ 4c71667160e5
Branch filter:

Location: kallithea/rhodecode/tests/api/test_api_git.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
from rhodecode.tests import *
from rhodecode.tests.api.api_base import BaseTestApi


class TestGitApi(BaseTestApi, TestController):
    REPO = GIT_REPO
    REPO_TYPE = 'git'