diff --git a/tests/app/aws/test_s3.py b/tests/app/aws/test_s3.py index cd6b76962..467ce6829 100644 --- a/tests/app/aws/test_s3.py +++ b/tests/app/aws/test_s3.py @@ -611,4 +611,6 @@ def test_get_s3_files_handles_exception(mocker): ] mock_read_s3_file.assert_has_calls(calls, any_order=True) - mock_current_app.logger.exception.assert_called_with("Connection pool issue") + mock_current_app.logger.exception.assert_called_with( + "Trouble reading file2.csv which is # 1 during cache regeneration" + )