Skip to content

Commit

Permalink
fix a test
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaney committed May 30, 2024
1 parent b2893e8 commit 2ec47aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions compass/tests/dao/test_csv.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def test_persons_from_file(self):
with open(os.path.join(self.resource_path, 'valid.csv'), 'rb') as fh:
result = csv_import.persons_from_file(fh)

self.assertEqual(len(result), 5)
self.assertEqual(len(result), 4)
self.assertEqual(result[0]['student_number'], '1033334')
self.assertEqual(result[0]['uwnetid'], 'javerage')
self.assertEqual(result[1]['student_number'], '1233338')
Expand All @@ -46,7 +46,6 @@ def test_persons_from_file(self):
self.assertEqual(result[2]['uwnetid'], 'jbothell')
self.assertEqual(result[3]['error'],
'Student number 7000000 not found')
self.assertEqual(result[4]['error'], 'Missing student number')


class InsensitiveDictReaderTest(StudentCSVTest):
Expand Down

0 comments on commit 2ec47aa

Please sign in to comment.