Skip to content

Commit

Permalink
Test number of option in question5
Browse files Browse the repository at this point in the history
  • Loading branch information
juuso-j committed Mar 15, 2024
1 parent e16b860 commit f62be97
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions profiles/tests/test_import_questions.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ def test_import_questions():
assert sq_auto_4_5_results[0] == autoilija
assert sq_auto_4_5_results[1].topic_en == "Habit traveler"

assert Question.objects.get(number="5").options.count() == 20

sq_walk = sub_q_qs.get(order_number=6)
sq_walk.description_sv == "Gående"
assert Option.objects.filter(sub_question=sq_walk).count() == 5
Expand Down

0 comments on commit f62be97

Please sign in to comment.