Fixing broken test

Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
Carlo Costino
2024-05-17 17:23:32 -04:00
parent aafa7178f9
commit 3b37e6ee88

View File

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