Skip to content

Commit

Permalink
Merge pull request #41 from City-of-Turku/feature/question5-remove-du…
Browse files Browse the repository at this point in the history
…plicate-option

Feature/question5 remove duplicate option
  • Loading branch information
juuso-j authored Mar 21, 2024
2 parents 2343a44 + f62be97 commit 6f3db10
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Binary file modified media/questions.xlsx
Binary file not shown.
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 6f3db10

Please sign in to comment.