mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-25 01:41:34 -05:00
Fix misnamed test
At some point[1] we moved from being able to schedule a job for up to 24 hours to 96 hours. The test was not renamed accordingly. 1. https://github.com/alphagov/notifications-api/pull/711
This commit is contained in:
@@ -307,7 +307,7 @@ def test_create_job_returns_403_if_letter_template_type_and_service_in_trial(
|
||||
|
||||
|
||||
@freeze_time("2016-01-01 11:09:00.061258")
|
||||
def test_should_not_create_scheduled_job_more_then_24_hours_hence(client, sample_template, mocker, fake_uuid):
|
||||
def test_should_not_create_scheduled_job_more_then_96_hours_hence(client, sample_template, mocker, fake_uuid):
|
||||
scheduled_date = (datetime.utcnow() + timedelta(hours=96, minutes=1)).isoformat()
|
||||
mocker.patch('app.celery.tasks.process_job.apply_async')
|
||||
mocker.patch('app.job.rest.get_job_metadata_from_s3', return_value={
|
||||
|
||||
Reference in New Issue
Block a user