Files @ 910ad1ffee99
Branch filter:

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

Mads Kiilerich
invalidation: merge .invalidate and .set_valid as .test_and_set_valid

This simplifies the internal API and avoids leaking CacheInvalidation instances
and cache keys.
1
2
3
4
5
6
7
8
9
from rhodecode.tests import *


class TestPullrequestsController(TestController):

    def test_index(self):
        self.log_user()
        response = self.app.get(url(controller='pullrequests', action='index',
                                    repo_name=HG_REPO))