diff --git a/tests/app/aws/test_s3.py b/tests/app/aws/test_s3.py index 9fc1940f4..1f38ffe38 100644 --- a/tests/app/aws/test_s3.py +++ b/tests/app/aws/test_s3.py @@ -655,7 +655,7 @@ def test_read_s3_file_populates_cache(monkeypatch): @patch("app.aws.s3.current_app") def test_valid_csv(mock_app): - csv_data = "Name, Phon Number\nAlice, +1 (555) 555-5555\nBob, 555.555.1111" + csv_data = "Name, Phone Number\nAlice, +1 (555) 555-5555\nBob, 555.555.1111" result = extract_phones(csv_data, "service1", "job1") expected = {0: "15555555555", 1: "5555551111"} assert result == expected @@ -667,7 +667,7 @@ def test_missing_phone_column(mock_app): csv_data = "Name,Phone Number\nAlice,\nBob" result = extract_phones(csv_data, "service1", "job1") - assert result == {0: "Unavailable"} + assert result == {0: "Unavailable", 1: "Unavailable"} mock_app.logger.error.assert_called_once()