We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de34d0e commit 623f886Copy full SHA for 623f886
test/verifications.py
@@ -52,7 +52,7 @@ def test_score_questions(self):
52
verif_id = verif['id']
53
qset = self.client.question_set.create(verif_id)
54
qset = qset.body
55
- qset_id = qset['question_set_id']
+ qset_id = qset['id']
56
score = self.client.question_set.score(verif_id, qset_id, [
57
{'question_id':1, 'answer_id':1},
58
{'question_id':2, 'answer_id':1},
@@ -61,7 +61,7 @@ def test_score_questions(self):
61
{'question_id':5, 'answer_id':1}
62
])
63
score = score.body
64
- self.assertEqual(score['question_set_id'],qset_id)
+ self.assertEqual(score['id'],qset_id)
65
self.assertIsInstance(score['score'],float)
66
67
0 commit comments