##// END OF EJS Templates
login: moved to apps module
marcink -
r1501:a960166a default
parent child Browse files
Show More
1 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
@@ -22,8 +22,8 b''
22 22 import mock
23 23 import pytest
24 24
25 from rhodecode.apps.login.views import LoginView, CaptchaData
25 26 from rhodecode.config.routing import ADMIN_PREFIX
26 from rhodecode.login.views import LoginView, CaptchaData
27 27 from rhodecode.model.settings import SettingsModel
28 28 from rhodecode.tests.utils import AssertResponse
29 29
@@ -92,7 +92,7 b' class TestRegisterCaptcha(object):'
92 92 assertr.no_element_exists('#recaptcha_field')
93 93
94 94 @pytest.mark.parametrize('valid', [False, True])
95 @mock.patch('rhodecode.login.views.submit')
95 @mock.patch('rhodecode.apps.login.views.submit')
96 96 @mock.patch.object(LoginView, '_get_captcha_data')
97 97 def test_register_with_active_captcha(
98 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
@@ -281,7 +281,7 b' def includeme(config):'
281 281 config.include('rhodecode.admin')
282 282 config.include('rhodecode.authentication')
283 283 config.include('rhodecode.integrations')
284 config.include('rhodecode.login')
284 config.include('rhodecode.apps.login')
285 285 config.include('rhodecode.tweens')
286 286 config.include('rhodecode.api')
287 287 config.include('rhodecode.svn_support')
General Comments 0
You need to be logged in to leave comments. Login now