From fa4f81d94d10b77b2e1159f3d3e58ad7c062e84f Mon Sep 17 00:00:00 2001 From: andrey-canon Date: Tue, 8 Aug 2023 13:26:17 -0500 Subject: [PATCH] Revert "Auxiliary commit to revert individual files from 26177414f7b3f95e7945930467d00c5de28d3c49" This reverts commit 65cad739397645fcb1841d58784d3aaa9359141e. --- eox_nelp/edxapp_wrapper/backends/student_m_v1.py | 11 ----------- eox_nelp/edxapp_wrapper/student.py | 1 - eox_nelp/edxapp_wrapper/test_backends/student_m_v1.py | 8 -------- 3 files changed, 20 deletions(-) diff --git a/eox_nelp/edxapp_wrapper/backends/student_m_v1.py b/eox_nelp/edxapp_wrapper/backends/student_m_v1.py index 57ee544e..a08dfb03 100644 --- a/eox_nelp/edxapp_wrapper/backends/student_m_v1.py +++ b/eox_nelp/edxapp_wrapper/backends/student_m_v1.py @@ -2,7 +2,6 @@ This file contains all the necessary student dependencies from https://github.com/eduNEXT/edunext-platform/tree/ednx-release/mango.master/common/djangoapps/student """ -from common.djangoapps.student import models_api as student_api # pylint: disable=import-error from common.djangoapps.student.models import ( # pylint: disable=import-error CourseAccessRole, CourseEnrollment, @@ -35,13 +34,3 @@ def get_user_profile_model(): UserProfile Model. """ return UserProfile - - -def get_student_api(): - """Allow to get the student_api module from - https://github.com/eduNEXT/edunext-platform/blob/ednx-release/mango.master/common/djangoapps/student/models_api.py - - Returns: - models_api module. - """ - return student_api diff --git a/eox_nelp/edxapp_wrapper/student.py b/eox_nelp/edxapp_wrapper/student.py index df85da10..7b8a0ef2 100644 --- a/eox_nelp/edxapp_wrapper/student.py +++ b/eox_nelp/edxapp_wrapper/student.py @@ -13,4 +13,3 @@ CourseEnrollment = backend.get_course_enrollment_model() CourseAccessRole = backend.get_course_access_role_model() UserProfile = backend.get_user_profile_model() -student_api = backend.get_student_api() diff --git a/eox_nelp/edxapp_wrapper/test_backends/student_m_v1.py b/eox_nelp/edxapp_wrapper/test_backends/student_m_v1.py index f45af36f..526961cb 100644 --- a/eox_nelp/edxapp_wrapper/test_backends/student_m_v1.py +++ b/eox_nelp/edxapp_wrapper/test_backends/student_m_v1.py @@ -24,11 +24,3 @@ def get_user_profile_model(): Mock class. """ return Mock() - - -def get_student_api(): - """Return test Module. - Returns: - Mock class. - """ - return Mock()