Fix issues with RequestFactory used as Request.
* Centralize creation of quick request objects. * Isolate caches to individual tests to prevent test ordering dependencies. TNL-5811
Showing
- lms/djangoapps/courseware/tests/helpers.py 0 additions, 15 deletionslms/djangoapps/courseware/tests/helpers.py
- lms/djangoapps/courseware/tests/test_courses.py 2 additions, 2 deletionslms/djangoapps/courseware/tests/test_courses.py
- lms/djangoapps/courseware/tests/test_entrance_exam.py 2 additions, 2 deletionslms/djangoapps/courseware/tests/test_entrance_exam.py
- lms/djangoapps/courseware/tests/test_masquerade.py 10 additions, 10 deletionslms/djangoapps/courseware/tests/test_masquerade.py
- lms/djangoapps/courseware/tests/test_tabs.py 10 additions, 9 deletionslms/djangoapps/courseware/tests/test_tabs.py
- lms/djangoapps/gating/tests/test_api.py 0 additions, 1 deletionlms/djangoapps/gating/tests/test_api.py
- lms/djangoapps/grades/tests/test_grades.py 6 additions, 7 deletionslms/djangoapps/grades/tests/test_grades.py
- lms/djangoapps/grades/tests/test_new.py 5 additions, 5 deletionslms/djangoapps/grades/tests/test_new.py
- lms/djangoapps/instructor/tests/test_enrollment.py 13 additions, 17 deletionslms/djangoapps/instructor/tests/test_enrollment.py
- lms/djangoapps/instructor_task/tests/test_base.py 2 additions, 1 deletionlms/djangoapps/instructor_task/tests/test_base.py
- lms/djangoapps/mobile_api/tests/test_milestones.py 2 additions, 2 deletionslms/djangoapps/mobile_api/tests/test_milestones.py
- openedx/core/djangoapps/course_groups/tests/test_partition_scheme.py 5 additions, 3 deletions...e/djangoapps/course_groups/tests/test_partition_scheme.py
- openedx/core/djangoapps/safe_sessions/tests/test_middleware.py 5 additions, 14 deletions...dx/core/djangoapps/safe_sessions/tests/test_middleware.py
- openedx/core/djangoapps/user_api/preferences/tests/test_api.py 3 additions, 3 deletions...dx/core/djangoapps/user_api/preferences/tests/test_api.py
- openedx/core/djangolib/testing/tests/__init__.py 0 additions, 0 deletionsopenedx/core/djangolib/testing/tests/__init__.py
- openedx/core/djangolib/testing/tests/test_utils.py 29 additions, 0 deletionsopenedx/core/djangolib/testing/tests/test_utils.py
- openedx/core/djangolib/testing/utils.py 18 additions, 1 deletionopenedx/core/djangolib/testing/utils.py
Please register or sign in to comment