Skip to content

Commit 33c256e

Browse files
committed
unit test
1 parent 3986974 commit 33c256e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recordprocessor/tests/test_recordprocessor_edge_cases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test_process_large_file_cp1252(self):
7777
# check logger.warning called for decode error
7878
self.mock_logger_warning.assert_called()
7979
warning_call_args = self.mock_logger_warning.call_args[0][0]
80-
self.assertEqual(warning_call_args, "Processing Error: Invalid continuation byte.")
80+
self.assertTrue(warning_call_args.startswith("Encoding Error: 'utf-8' codec can't decode byte 0xe9 in position 6064: invalid continuation byte."))
8181

8282
def test_process_large_file_utf8(self):
8383
""" Test processing a large file with utf-8 encoding """

0 commit comments

Comments
 (0)