annotate rhodecode/tests/api/test_api_hg.py @ 3774:60335b702a00 beta

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.
author Mads Kiilerich <madski@unity3d.com>
date Wed, 03 Apr 2013 15:56:12 +0200
parents d5e42c00f3c1
children ffd45b185016
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2526
473794943022 Refactored API
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
1 from rhodecode.tests import *
473794943022 Refactored API
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
2 from rhodecode.tests.api.api_base import BaseTestApi
473794943022 Refactored API
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
3
473794943022 Refactored API
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
4
473794943022 Refactored API
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
5 class TestHgApi(BaseTestApi, TestController):
473794943022 Refactored API
Marcin Kuzminski <marcin@python-works.com>
parents:
diff changeset
6 REPO = HG_REPO
2673
d5e42c00f3c1 white space cleanup
Marcin Kuzminski <marcin@python-works.com>
parents: 2526
diff changeset
7 REPO_TYPE = 'hg'