From cca23f4e2205ae8018044994859812f7f1cb8d5a Mon Sep 17 00:00:00 2001 From: Bryann Valderrama Date: Tue, 12 Nov 2024 17:04:49 -0500 Subject: [PATCH] chore: use new user backend --- .../edxapp_wrapper/backends/{users_r_v1.py => users_q_v1.py} | 2 +- .../backends/{users_r_v1_test.py => users_q_v1_test.py} | 2 +- eox_core/edxapp_wrapper/tests/integration/test_backends.py | 2 +- eox_core/settings/common.py | 2 +- eox_core/settings/test.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) rename eox_core/edxapp_wrapper/backends/{users_r_v1.py => users_q_v1.py} (99%) rename eox_core/edxapp_wrapper/backends/{users_r_v1_test.py => users_q_v1_test.py} (98%) diff --git a/eox_core/edxapp_wrapper/backends/users_r_v1.py b/eox_core/edxapp_wrapper/backends/users_q_v1.py similarity index 99% rename from eox_core/edxapp_wrapper/backends/users_r_v1.py rename to eox_core/edxapp_wrapper/backends/users_q_v1.py index 51aa5362..f0dd74e0 100644 --- a/eox_core/edxapp_wrapper/backends/users_r_v1.py +++ b/eox_core/edxapp_wrapper/backends/users_q_v1.py @@ -1,7 +1,7 @@ #!/usr/bin/env python # -*- coding: utf-8 -*- """ -Redwood backend for users module +Quince backend for users module """ import logging diff --git a/eox_core/edxapp_wrapper/backends/users_r_v1_test.py b/eox_core/edxapp_wrapper/backends/users_q_v1_test.py similarity index 98% rename from eox_core/edxapp_wrapper/backends/users_r_v1_test.py rename to eox_core/edxapp_wrapper/backends/users_q_v1_test.py index 9d4a2240..a1b92122 100644 --- a/eox_core/edxapp_wrapper/backends/users_r_v1_test.py +++ b/eox_core/edxapp_wrapper/backends/users_q_v1_test.py @@ -1,5 +1,5 @@ """ -Redwood test backend for users module +Quince test backend for users module """ from unittest.mock import Mock diff --git a/eox_core/edxapp_wrapper/tests/integration/test_backends.py b/eox_core/edxapp_wrapper/tests/integration/test_backends.py index 68a2f5c5..163cdcc4 100644 --- a/eox_core/edxapp_wrapper/tests/integration/test_backends.py +++ b/eox_core/edxapp_wrapper/tests/integration/test_backends.py @@ -19,4 +19,4 @@ def test_current_settings_code_imports(): import eox_core.edxapp_wrapper.backends.pre_enrollment_l_v1 import eox_core.edxapp_wrapper.backends.storages_i_v1 import eox_core.edxapp_wrapper.backends.third_party_auth_l_v1 - import eox_core.edxapp_wrapper.backends.users_r_v1 + import eox_core.edxapp_wrapper.backends.users_q_v1 diff --git a/eox_core/settings/common.py b/eox_core/settings/common.py index f6855d5f..f4f1804e 100644 --- a/eox_core/settings/common.py +++ b/eox_core/settings/common.py @@ -25,7 +25,7 @@ def plugin_settings(settings): See: https://github.com/openedx/edx-platform/blob/master/openedx/core/djangoapps/plugins/README.rst """ settings.EOX_CORE_COMMENTS_SERVICE_USERS_BACKEND = "eox_core.edxapp_wrapper.backends.comments_service_users_j_v1" - settings.EOX_CORE_USERS_BACKEND = "eox_core.edxapp_wrapper.backends.users_r_v1" + settings.EOX_CORE_USERS_BACKEND = "eox_core.edxapp_wrapper.backends.users_q_v1" settings.EOX_CORE_ENROLLMENT_BACKEND = "eox_core.edxapp_wrapper.backends.enrollment_o_v1" settings.EOX_CORE_PRE_ENROLLMENT_BACKEND = "eox_core.edxapp_wrapper.backends.pre_enrollment_l_v1" settings.EOX_CORE_CERTIFICATES_BACKEND = "eox_core.edxapp_wrapper.backends.certificates_m_v1" diff --git a/eox_core/settings/test.py b/eox_core/settings/test.py index f718f3be..84b45af9 100644 --- a/eox_core/settings/test.py +++ b/eox_core/settings/test.py @@ -21,7 +21,7 @@ def plugin_settings(settings): # pylint: disable=function-redefined Defines eox-core settings when app is used as a plugin to edx-platform. See: https://github.com/openedx/edx-platform/blob/master/openedx/core/djangoapps/plugins/README.rst """ - settings.EOX_CORE_USERS_BACKEND = "eox_core.edxapp_wrapper.backends.users_r_v1_test" + settings.EOX_CORE_USERS_BACKEND = "eox_core.edxapp_wrapper.backends.users_q_v1_test" settings.EOX_CORE_ENROLLMENT_BACKEND = "eox_core.edxapp_wrapper.backends.enrollment_l_v1" settings.EOX_CORE_PRE_ENROLLMENT_BACKEND = "eox_core.edxapp_wrapper.backends.pre_enrollment_l_v1" settings.EOX_CORE_COURSEKEY_BACKEND = "eox_core.edxapp_wrapper.backends.coursekey_m_v1"