mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
remove redis_store mocking from s3 tests
This commit is contained in:
@@ -110,7 +110,6 @@ def test_get_s3_file_makes_correct_call(notify_api, mocker):
|
||||
def test_get_phone_number_from_s3(
|
||||
mocker, job, job_id, job_row_number, expected_phone_number
|
||||
):
|
||||
mocker.patch("app.aws.s3.redis_store")
|
||||
get_job_mock = mocker.patch("app.aws.s3.get_job_from_s3")
|
||||
get_job_mock.return_value = job
|
||||
phone_number = get_phone_number_from_s3("service_id", job_id, job_row_number)
|
||||
@@ -175,7 +174,6 @@ def test_get_job_from_s3_exponential_backoff_file_not_found(mocker):
|
||||
def test_get_personalisation_from_s3(
|
||||
mocker, job, job_id, job_row_number, expected_personalisation
|
||||
):
|
||||
mocker.patch("app.aws.s3.redis_store")
|
||||
get_job_mock = mocker.patch("app.aws.s3.get_job_from_s3")
|
||||
get_job_mock.return_value = job
|
||||
personalisation = get_personalisation_from_s3("service_id", job_id, job_row_number)
|
||||
|
||||
Reference in New Issue
Block a user