mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-14 23:07:49 -04:00
Update the flask-socketio config to play more nicely:
* Reverts run commands to what they previously were * Addresses some outstanding linting/formatting * Accounts for proper config initialization (CORS, Redis) * Updates dependencies and pulls in latest changes from main Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -2029,11 +2029,11 @@ def test_update_delivery_receipts(mocker):
|
||||
mock_update.where.return_value = mock_where
|
||||
mock_where.values.return_value = mock_values
|
||||
|
||||
FakeJob = type("FakeJob", (object,), {
|
||||
"id": "job-123",
|
||||
"notification_count": 5,
|
||||
"job_status": "delivered"
|
||||
})
|
||||
FakeJob = type(
|
||||
"FakeJob",
|
||||
(object,),
|
||||
{"id": "job-123", "notification_count": 5, "job_status": "delivered"},
|
||||
)
|
||||
|
||||
fake_result = MagicMock()
|
||||
fake_result.scalars.return_value.all.return_value = ["job-1", "job-2"]
|
||||
|
||||
Reference in New Issue
Block a user