apps: switch import of ADMIN_PREFIX from routing into base app.
- routing is deprecated and will be soon removed
This commit is contained in:
parent
4336119cb0
commit
116099638b
10 changed files with 11 additions and 11 deletions
|
|
@ -27,7 +27,7 @@ from pyramid.authentication import SessionAuthenticationPolicy
|
|||
from rhodecode.authentication.registry import AuthenticationPluginRegistry
|
||||
from rhodecode.authentication.routes import root_factory
|
||||
from rhodecode.authentication.routes import AuthnRootResource
|
||||
from rhodecode.config.routing import ADMIN_PREFIX
|
||||
from rhodecode.apps._base import ADMIN_PREFIX
|
||||
from rhodecode.model.settings import SettingsModel
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import pytest
|
|||
|
||||
from rhodecode.authentication.tests.conftest import (
|
||||
EnabledAuthPlugin, DisabledAuthPlugin)
|
||||
from rhodecode.config.routing import ADMIN_PREFIX
|
||||
from rhodecode.apps._base import ADMIN_PREFIX
|
||||
|
||||
|
||||
@pytest.mark.usefixtures('autologin_user', 'app')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue