Skip to content

Commit

Permalink
Fix method
Browse files Browse the repository at this point in the history
  • Loading branch information
Janis Lesinskis committed Oct 2, 2017
1 parent aaf55e4 commit e851dfb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions quiz_generator/tests/test_ranged_question.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def answer_function(input_values):
)

generated_question = question_with_function_over_range.create_specific_question()
assert generated_question.question_to_latex() in ("What is 1^2 ?", "What is 2^2 ?")
assert generated_question.answer_to_latex() in ("1", "4")
assert generated_question.render_question() in ("What is 1^2 ?", "What is 2^2 ?")
assert generated_question.render_answer() in ("1", "4")

def test_extract_input_combination():
"""Test helper function that extracts a single value from a dictionary containing choices"""
Expand Down

0 comments on commit e851dfb

Please sign in to comment.