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:
Carlo Costino
2025-04-16 17:43:10 -04:00
parent 71e8f20b04
commit 419d6cee69
8 changed files with 29 additions and 19 deletions

View File

@@ -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"]