tests: refactor code to use a single test url generator
This commit is contained in:
parent
28f89c682d
commit
6e5314f631
67 changed files with 401 additions and 1277 deletions
|
|
@ -19,15 +19,11 @@ from rhodecode.model.user_group import UserGroupModel
|
|||
from rhodecode.tests import (
|
||||
TestController, TEST_USER_REGULAR_LOGIN, TEST_USER_REGULAR_PASS)
|
||||
from rhodecode.tests.fixture import Fixture
|
||||
from rhodecode.tests.utils import AssertResponse
|
||||
from rhodecode.tests.routes import route_path
|
||||
|
||||
fixture = Fixture()
|
||||
|
||||
|
||||
def route_path(name, **kwargs):
|
||||
return '/_profile_user_group/{user_group_name}'.format(**kwargs)
|
||||
|
||||
|
||||
class TestUsersController(TestController):
|
||||
|
||||
def test_user_group_profile(self, user_util):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue