reyalysed grade 3
This commit is contained in:
@@ -65,7 +65,8 @@ async def test_unhandled_exception_is_hidden_from_client(
|
||||
assert "test-secret" not in json.dumps(payload, ensure_ascii=False)
|
||||
assert "Traceback" not in json.dumps(payload, ensure_ascii=False)
|
||||
assert "Unhandled error request_id=" in caplog.text
|
||||
assert "test-secret" in caplog.text
|
||||
assert "test-secret" not in caplog.text
|
||||
assert "RuntimeError" in caplog.text
|
||||
assert_request_id(response)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user