Change some tests dict order to fix assertion after python 3.7 change of preserving insertion order in dicts.

This commit is contained in:
Eric Herrera
2020-06-21 09:26:59 -05:00
parent 361a2c92b3
commit 3cdd5c4d27
2 changed files with 4 additions and 4 deletions

View File

@@ -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}
])

View File

@@ -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 = [