Files @ 8ecc6b8229a5
Branch filter:

Location: kallithea/rhodecode/tests/functional/test_shortlog.py

Marcin Kuzminski
commit less models
- models don't do any commits(with few exceptions)
- all db transactions should be handled by higher level modules like controllers, celery tasks
1
2
3
4
5
6
7
8
from rhodecode.tests import *

class TestShortlogController(TestController):

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