This is a new TestCase base class, intended for situations where you only want to initialize course content in the setUpClass(), as opposed to setUp(). This is done for performance reasons, since many test cases only use courses in a read-only fashion, particularly in LMS tests. This commit also converts the following modules to use this new base class: lms/djangoapps/ccx/tests/test_ccx_modulestore.py (38s -> 4s) lms/djangoapps/discussion_api/tests/test_api.py (2m45s -> 51s) lms/djangoapps/teams/tests/test_views.py (1m17s -> 33s)
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
branding | Loading commit data... | |
bulk_email | Loading commit data... | |
ccx | Loading commit data... | |
certificates | Loading commit data... | |
circuit | Loading commit data... | |
class_dashboard | Loading commit data... | |
commerce | Loading commit data... | |
course_structure_api | Loading commit data... | |
course_wiki | Loading commit data... | |
courseware | Loading commit data... | |
dashboard | Loading commit data... | |
debug | Loading commit data... | |
discussion_api | Loading commit data... | |
django_comment_client | Loading commit data... | |
edxnotes | Loading commit data... | |
foldit | Loading commit data... | |
instructor | Loading commit data... | |
instructor_analytics | Loading commit data... | |
instructor_task | Loading commit data... | |
licenses | Loading commit data... | |
lms_migration | Loading commit data... | |
lms_xblock | Loading commit data... | |
lti_provider | Loading commit data... | |
mailing | Loading commit data... | |
mobile_api | Loading commit data... | |
notes | Loading commit data... | |
notification_prefs | Loading commit data... | |
notifier_api | Loading commit data... | |
oauth2_handler | Loading commit data... | |
open_ended_grading | Loading commit data... | |
psychometrics | Loading commit data... | |
shoppingcart | Loading commit data... | |
static_template_view | Loading commit data... | |
staticbook | Loading commit data... | |
student_account | Loading commit data... | |
student_profile | Loading commit data... | |
survey | Loading commit data... | |
teams | Loading commit data... | |
verify_student | Loading commit data... | |
__init__.py | Loading commit data... |