mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
flake8
This commit is contained in:
@@ -353,7 +353,9 @@ def create_2fa_code(
|
||||
|
||||
current_app.logger.info("TESTING REDIS")
|
||||
redis_store.raw_set("TESTKEY5", "WORKS")
|
||||
current_app.logger.info(f"SHOULD SEE THE WORD 'WORKS' HERE: {redis_store.get('TESTKEY5')}")
|
||||
current_app.logger.info(
|
||||
f"SHOULD SEE THE WORD 'WORKS' HERE: {redis_store.get('TESTKEY5')}"
|
||||
)
|
||||
|
||||
key = f"2facode-{saved_notification.id}".replace(" ", "")
|
||||
recipient = str(recipient)
|
||||
|
||||
@@ -454,7 +454,7 @@ def test_send_user_email_code(
|
||||
sample_user.auth_type = auth_type
|
||||
|
||||
mock_redis_get = mocker.patch("app.celery.scheduled_tasks.redis_store.raw_get")
|
||||
mock_redis_get.return_value="foo"
|
||||
mock_redis_get.return_value = "foo"
|
||||
|
||||
mocker.patch("app.celery.scheduled_tasks.redis_store.raw_set")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user