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:
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user