From 495bcc8c4a450380cdf407c2717f6e6350f2f9aa Mon Sep 17 00:00:00 2001 From: George Schneeloch Date: Fri, 4 Sep 2015 11:10:45 -0400 Subject: [PATCH] Reorder dictionary for readability --- rest/tests/test_search.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/rest/tests/test_search.py b/rest/tests/test_search.py index a346eb8a..fb10d63b 100644 --- a/rest/tests/test_search.py +++ b/rest/tests/test_search.py @@ -52,17 +52,17 @@ def assert_result_equal(self, result, resource): self.assertEqual( { - 'xa_avg_grade': resource.xa_avg_grade, 'course': resource.course.course_number, 'description': resource.description, 'description_path': resource.description_path, - 'resource_type': resource.learning_resource_type.name, 'lid': resource.id, - 'xa_nr_attempts': resource.xa_nr_attempts, - 'xa_nr_views': resource.xa_nr_views, 'preview_url': get_preview_url(resource), + 'resource_type': resource.learning_resource_type.name, 'run': resource.course.run, - 'title': resource.title + 'title': resource.title, + 'xa_avg_grade': resource.xa_avg_grade, + 'xa_nr_attempts': resource.xa_nr_attempts, + 'xa_nr_views': resource.xa_nr_views, }, result )