mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-18 13:38:53 -04:00
2
.github/workflows/dependabot-auto-merge.yml
vendored
2
.github/workflows/dependabot-auto-merge.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
if: github.actor == 'dependabot[bot]' # Only dependabot PRs
|
if: github.actor == 'dependabot[bot]' # Only dependabot PRs
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repo
|
- name: Checkout repo
|
||||||
users: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Fetch Dependabot metadata
|
- name: Fetch Dependabot metadata
|
||||||
id: metadata
|
id: metadata
|
||||||
|
|||||||
@@ -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