Fix some of the common test collection issues. (#21340)
* Remove old performance tests that we haven't been running. As far as I can tell, these tests to capture HAR files were created 5 years ago and not being run as a part of our suite? They capture HAR data that we do nothing with so even if they were running we should remove them until we're ready to care about consuming this kind of information. * Update password test unicode string. * Add ugettext translation helper function. * Fix lambda syntax that is not valid in python 3. * Fix ur raw strings which his not valid in python 3 * Use edx_six.get_gettext instead of ugettext. * Fix a few other encoding issues. * Don't use old form of sorted funciton. This form which uses a 'cmp' method is not available in python 3.
Showing
- common/djangoapps/util/tests/test_password_policy_validators.py 1 addition, 1 deletion.../djangoapps/util/tests/test_password_policy_validators.py
- common/lib/capa/capa/inputtypes.py 26 additions, 16 deletionscommon/lib/capa/capa/inputtypes.py
- common/lib/capa/capa/responsetypes.py 27 additions, 26 deletionscommon/lib/capa/capa/responsetypes.py
- common/lib/capa/capa/tests/helpers.py 3 additions, 2 deletionscommon/lib/capa/capa/tests/helpers.py
- common/lib/capa/capa/tests/test_responsetypes.py 5 additions, 5 deletionscommon/lib/capa/capa/tests/test_responsetypes.py
- common/lib/capa/capa/util.py 1 addition, 1 deletioncommon/lib/capa/capa/util.py
- common/test/acceptance/fixtures/config.py 4 additions, 2 deletionscommon/test/acceptance/fixtures/config.py
- common/test/acceptance/pages/studio/import_export.py 1 addition, 1 deletioncommon/test/acceptance/pages/studio/import_export.py
- common/test/acceptance/performance/__init__.py 0 additions, 0 deletionscommon/test/acceptance/performance/__init__.py
- common/test/acceptance/performance/test_lms_performance.py 0 additions, 116 deletionscommon/test/acceptance/performance/test_lms_performance.py
- common/test/acceptance/performance/test_studio_performance.py 0 additions, 100 deletions...on/test/acceptance/performance/test_studio_performance.py
- common/test/acceptance/tests/discussion/test_discussion.py 6 additions, 3 deletionscommon/test/acceptance/tests/discussion/test_discussion.py
- lms/djangoapps/instructor/views/instructor_dashboard.py 1 addition, 1 deletionlms/djangoapps/instructor/views/instructor_dashboard.py
- openedx/core/lib/edx_six.py 16 additions, 0 deletionsopenedx/core/lib/edx_six.py
Loading
Please register or sign in to comment