mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
fix test
This commit is contained in:
@@ -583,7 +583,7 @@ def test_batch_insert_with_expired_notifications(mocker):
|
|||||||
rs.llen.assert_called_once_with("message_queue")
|
rs.llen.assert_called_once_with("message_queue")
|
||||||
rs.rpush.assert_called_once()
|
rs.rpush.assert_called_once()
|
||||||
requeued_notification = json.loads(rs.rpush.call_args[0][1])
|
requeued_notification = json.loads(rs.rpush.call_args[0][1])
|
||||||
assert requeued_notification["id"] == 1
|
assert requeued_notification["id"] == '1'
|
||||||
|
|
||||||
|
|
||||||
def test_batch_insert_with_malformed_notifications(mocker):
|
def test_batch_insert_with_malformed_notifications(mocker):
|
||||||
|
|||||||
Reference in New Issue
Block a user