Files @ a83a1799480c
Branch filter:

Location: kallithea/pylons_app/tests/functional/test_branches.py

Marcin Kuzminski
Reimplemented way of caching repos list, hg model now get's repos objects right from cached dict, this way we skipp creating instances of MercurialRepository and gain performance. Some import cleanup
1
2
3
4
5
6
7
from pylons_app.tests import *

class TestBranchesController(TestController):

    def test_index(self):
        response = self.app.get(url(controller='branches', action='index'))
        # Test response...