Show More
1 | NO CONTENT: file renamed from rhodecode/login/__init__.py to rhodecode/apps/login/__init__.py |
|
NO CONTENT: file renamed from rhodecode/login/__init__.py to rhodecode/apps/login/__init__.py |
1 | NO CONTENT: file renamed from rhodecode/login/tests/__init__.py to rhodecode/apps/login/tests/__init__.py |
|
NO CONTENT: file renamed from rhodecode/login/tests/__init__.py to rhodecode/apps/login/tests/__init__.py |
@@ -22,8 +22,8 b'' | |||||
22 | import mock |
|
22 | import mock | |
23 | import pytest |
|
23 | import pytest | |
24 |
|
24 | |||
|
25 | from rhodecode.apps.login.views import LoginView, CaptchaData | |||
25 | from rhodecode.config.routing import ADMIN_PREFIX |
|
26 | from rhodecode.config.routing import ADMIN_PREFIX | |
26 | from rhodecode.login.views import LoginView, CaptchaData |
|
|||
27 | from rhodecode.model.settings import SettingsModel |
|
27 | from rhodecode.model.settings import SettingsModel | |
28 | from rhodecode.tests.utils import AssertResponse |
|
28 | from rhodecode.tests.utils import AssertResponse | |
29 |
|
29 | |||
@@ -92,7 +92,7 b' class TestRegisterCaptcha(object):' | |||||
92 | assertr.no_element_exists('#recaptcha_field') |
|
92 | assertr.no_element_exists('#recaptcha_field') | |
93 |
|
93 | |||
94 | @pytest.mark.parametrize('valid', [False, True]) |
|
94 | @pytest.mark.parametrize('valid', [False, True]) | |
95 | @mock.patch('rhodecode.login.views.submit') |
|
95 | @mock.patch('rhodecode.apps.login.views.submit') | |
96 | @mock.patch.object(LoginView, '_get_captcha_data') |
|
96 | @mock.patch.object(LoginView, '_get_captcha_data') | |
97 | def test_register_with_active_captcha( |
|
97 | def test_register_with_active_captcha( | |
98 | self, m_get_captcha_data, m_submit, valid, app, csrf_token): |
|
98 | self, m_get_captcha_data, m_submit, valid, app, csrf_token): |
1 | NO CONTENT: file renamed from rhodecode/login/views.py to rhodecode/apps/login/views.py |
|
NO CONTENT: file renamed from rhodecode/login/views.py to rhodecode/apps/login/views.py |
@@ -281,7 +281,7 b' def includeme(config):' | |||||
281 | config.include('rhodecode.admin') |
|
281 | config.include('rhodecode.admin') | |
282 | config.include('rhodecode.authentication') |
|
282 | config.include('rhodecode.authentication') | |
283 | config.include('rhodecode.integrations') |
|
283 | config.include('rhodecode.integrations') | |
284 | config.include('rhodecode.login') |
|
284 | config.include('rhodecode.apps.login') | |
285 | config.include('rhodecode.tweens') |
|
285 | config.include('rhodecode.tweens') | |
286 | config.include('rhodecode.api') |
|
286 | config.include('rhodecode.api') | |
287 | config.include('rhodecode.svn_support') |
|
287 | config.include('rhodecode.svn_support') |
General Comments 0
You need to be logged in to leave comments.
Login now