Updated tests to match the formatting work done in the admin repo

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-05-17 17:14:46 -04:00
parent ac4ebacfeb
commit aafa7178f9
30 changed files with 553 additions and 499 deletions

View File

@@ -48,4 +48,4 @@ def test_base_json_formatter_contains_service_id():
json.loads(logging.BaseJSONFormatter().format(record))["message"]
== "message to log"
)
assert service_id_filter.filter(record).service_id == "notify-admin"
assert service_id_filter.filter(record).service_id == "no-service-id"