Files @ 60335b702a00
Branch filter:

Location: kallithea/rhodecode/tests/api/test_api_hg.py

Mads Kiilerich
invalidation: don't create CacheInvalidation records on startup

Creating the records early gave an advantage before lightweight was introduced.
With lightweight it is no longer necessary.

The records will be created on demand anyway and there is no reason to create and
maintain them before they are used.
1
2
3
4
5
6
7
from rhodecode.tests import *
from rhodecode.tests.api.api_base import BaseTestApi


class TestHgApi(BaseTestApi, TestController):
    REPO = HG_REPO
    REPO_TYPE = 'hg'