@@ -667,6 +667,9 @@ def test_get(self, course_id):
667667 G (models .ProblemsAndTags , course_id = course_id , module_id = module_id ,
668668 tag_name = 'difficulty' , tag_value = tags ['difficulty' ][0 ],
669669 total_submissions = 11 , correct_submissions = 4 , created = created )
670+ G (models .ProblemsAndTags , course_id = course_id , module_id = module_id ,
671+ tag_name = 'difficulty' , tag_value = tags ['difficulty' ][1 ],
672+ total_submissions = 11 , correct_submissions = 4 , created = created )
670673 G (models .ProblemsAndTags , course_id = course_id , module_id = module_id ,
671674 tag_name = 'learning_outcome' , tag_value = tags ['learning_outcome' ][1 ],
672675 total_submissions = 11 , correct_submissions = 4 , created = alt_created )
@@ -680,8 +683,8 @@ def test_get(self, course_id):
680683 'total_submissions' : 11 ,
681684 'correct_submissions' : 4 ,
682685 'tags' : {
683- u'difficulty' : u'Easy' ,
684- u'learning_outcome' : u'Learned a few things' ,
686+ u'difficulty' : [ u'Easy' , u'Medium' ] ,
687+ u'learning_outcome' : [ u'Learned a few things' ] ,
685688 },
686689 'created' : alt_created .strftime (settings .DATETIME_FORMAT )
687690 },
@@ -690,7 +693,7 @@ def test_get(self, course_id):
690693 'total_submissions' : 4 ,
691694 'correct_submissions' : 0 ,
692695 'tags' : {
693- u'learning_outcome' : u'Learned everything' ,
696+ u'learning_outcome' : [ u'Learned everything' ] ,
694697 },
695698 'created' : created .strftime (settings .DATETIME_FORMAT )
696699 }
0 commit comments