Fixing correctness text so it doesn't match 'correct' in the word 'correctness' causing my tests to fail. This should be improved soon

This commit is contained in:
Dillon Dumesnil
2017-12-08 13:34:44 -05:00
parent 0def70e725
commit aa8b7ab2ec

View File

@@ -363,12 +363,13 @@ class TestReviewFunctions(TestReviewXBlock):
'section': review_section_actual.location.name,
}
))
print response
expected_header_text = 'Review Problems'
# The problems are defaulted to correct upon load
# This happens because the problems "raw_possible" field is 0 and the
# "raw_earned" field is also 0.
expected_correctness_text = 'correct'
expected_correctness_text = ' correct '
expected_problems = ['Review Problem 1', 'Review Problem 2', 'Review Problem 3',
'Review Problem 4', 'Review Problem 5', 'Review Problem 6']