def test_exam_read_no_shows(self):
"""Test that a typical no-show result from Perason does not result in any errors"""
test_file_path = '{}/exams/pearson/test_resources/noshow.dat'.format(settings.BASE_DIR)
reader = EXAMReader()
with open(test_file_path, 'r') as test_file:
results = reader.read(test_file)
# Assert that there are no error messages in the results tuple
assert len(results[1]) == 0
评论列表
文章目录