Skip to content
This repository has been archived by the owner on Jan 28, 2020. It is now read-only.

Commit

Permalink
Update expected test keys
Browse files Browse the repository at this point in the history
  • Loading branch information
George Schneeloch committed Sep 3, 2015
1 parent 13e10ec commit 85ee06a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions rest/tests/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,14 @@ def make_text(obj):

self.assertEqual(
{
'avg_grade': resource.xa_avg_grade,
'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,
'nr_attempts': resource.xa_nr_attempts,
'nr_views': resource.xa_nr_views,
'xa_nr_attempts': resource.xa_nr_attempts,
'xa_nr_views': resource.xa_nr_views,
'preview_url': get_preview_url(resource),
'run': resource.course.run,
'text': make_text(resource),
Expand Down

0 comments on commit 85ee06a

Please sign in to comment.