From 681c70d17baf0df8808fece9c835766df61372a5 Mon Sep 17 00:00:00 2001 From: Kenneth Kehl <@kkehl@flexion.us> Date: Mon, 7 Jul 2025 11:07:37 -0700 Subject: [PATCH] more tests --- tests/app/aws/test_s3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()