Skip to content

Commit

Permalink
Revert "Auxiliary commit to revert individual files from 2617741"
Browse files Browse the repository at this point in the history
This reverts commit 65cad739397645fcb1841d58784d3aaa9359141e.
  • Loading branch information
andrey-canon committed Aug 8, 2023
1 parent 2617741 commit fa4f81d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 20 deletions.
11 changes: 0 additions & 11 deletions eox_nelp/edxapp_wrapper/backends/student_m_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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
1 change: 0 additions & 1 deletion eox_nelp/edxapp_wrapper/student.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
8 changes: 0 additions & 8 deletions eox_nelp/edxapp_wrapper/test_backends/student_m_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

0 comments on commit fa4f81d

Please sign in to comment.