Files @ df57253e965a
Branch filter:

Location: kallithea/rhodecode/tests/api/test_api_git.py - annotation

Mads Kiilerich
invalidation: simplify get_prefix

str.split will always have a [0], and cache_key will always contain
repo_name=cache_args and the split will thus always return two elements
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'