From 3cdd5c4d272fea65b8d248e8423be859a4376181 Mon Sep 17 00:00:00 2001 From: Eric Herrera Date: Sun, 21 Jun 2020 09:26:59 -0500 Subject: [PATCH] Change some tests dict order to fix assertion after python 3.7 change of preserving insertion order in dicts. --- cms/djangoapps/contentstore/tests/test_course_settings.py | 4 ++-- common/djangoapps/pipeline_mako/tests/test_render.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cms/djangoapps/contentstore/tests/test_course_settings.py b/cms/djangoapps/contentstore/tests/test_course_settings.py index 2c54b96c58..35f1dcaed0 100644 --- a/cms/djangoapps/contentstore/tests/test_course_settings.py +++ b/cms/djangoapps/contentstore/tests/test_course_settings.py @@ -613,10 +613,10 @@ class CourseGradingTest(CourseTestCase): GRADING_POLICY_CHANGED_EVENT_TYPE, { 'course_id': six.text_type(self.course.id), - 'event_transaction_type': 'edx.grades.grading_policy_changed', - 'grading_policy_hash': policy_hash, 'user_id': six.text_type(self.user.id), + 'grading_policy_hash': policy_hash, 'event_transaction_id': 'mockUUID', + 'event_transaction_type': 'edx.grades.grading_policy_changed', } ) for policy_hash in {grading_policy_1, grading_policy_2, grading_policy_3} ]) diff --git a/common/djangoapps/pipeline_mako/tests/test_render.py b/common/djangoapps/pipeline_mako/tests/test_render.py index 358d903395..77aca11ec1 100644 --- a/common/djangoapps/pipeline_mako/tests/test_render.py +++ b/common/djangoapps/pipeline_mako/tests/test_render.py @@ -17,8 +17,8 @@ class RequireJSPathOverridesTest(TestCase): OVERRIDES = { 'jquery': 'common/js/vendor/jquery.js', - 'backbone': 'common/js/vendor/backbone.js', - 'text': 'js/vendor/text.js' + 'text': 'js/vendor/text.js', + 'backbone': 'common/js/vendor/backbone.js' } OVERRIDES_JS = [