mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-09 17:45:41 -04:00
Fix PEP issues :-|
This commit is contained in:
@@ -174,7 +174,8 @@ def test_persist_notification_with_optionals(sample_job, sample_api_key, mocker)
|
|||||||
template_version=sample_job.template.version,
|
template_version=sample_job.template.version,
|
||||||
recipient='+447111111111',
|
recipient='+447111111111',
|
||||||
service=sample_job.service,
|
service=sample_job.service,
|
||||||
personalisation=None, notification_type='sms',
|
personalisation=None,
|
||||||
|
notification_type='sms',
|
||||||
api_key_id=sample_api_key.id,
|
api_key_id=sample_api_key.id,
|
||||||
key_type=sample_api_key.key_type,
|
key_type=sample_api_key.key_type,
|
||||||
created_at=created_at,
|
created_at=created_at,
|
||||||
@@ -199,7 +200,6 @@ def test_persist_notification_with_optionals(sample_job, sample_api_key, mocker)
|
|||||||
assert persisted_notification.rate_multiplier is None
|
assert persisted_notification.rate_multiplier is None
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@freeze_time("2016-01-01 11:09:00.061258")
|
@freeze_time("2016-01-01 11:09:00.061258")
|
||||||
def test_persist_notification_increments_cache_if_key_exists(sample_template, sample_api_key, mocker):
|
def test_persist_notification_increments_cache_if_key_exists(sample_template, sample_api_key, mocker):
|
||||||
mock_incr = mocker.patch('app.notifications.process_notifications.redis_store.incr')
|
mock_incr = mocker.patch('app.notifications.process_notifications.redis_store.incr')
|
||||||
|
|||||||
Reference in New Issue
Block a user