view rhodecode/tests/functional/test_settings.py @ 2738:ddd7a8024ff0 beta

DRY !
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 25 Aug 2012 19:06:46 +0200
parents 64e91067b996
children 42d7ca49d073
line wrap: on
line source

from rhodecode.model.db import Repository
from rhodecode.tests import *

class TestSettingsController(TestController):

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