fix: apply black formatting to test_format_connection_error.py (--target-version py312)
Agent-Logs-Url: https://github.com/christianlouis/InboxConverge/sessions/a81adc93-0fee-44b1-8c26-ae9830e40e21 Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
ed4c4f5a60
commit
79d664c0e4
@@ -22,7 +22,6 @@ from app.services.mail_processor import (
|
|||||||
_MAX_TRACE_ENTRIES,
|
_MAX_TRACE_ENTRIES,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
# _format_connection_error – helpers
|
# _format_connection_error – helpers
|
||||||
# ---------------------------------------------------------------------------
|
# ---------------------------------------------------------------------------
|
||||||
@@ -244,6 +243,7 @@ class TestMailDebugRecorder:
|
|||||||
rec.record("stat", "Mailbox has 3 messages", {"count": 3})
|
rec.record("stat", "Mailbox has 3 messages", {"count": 3})
|
||||||
|
|
||||||
import json
|
import json
|
||||||
|
|
||||||
serialised = json.dumps(rec.as_details())
|
serialised = json.dumps(rec.as_details())
|
||||||
# The password must not appear in any of these entries
|
# The password must not appear in any of these entries
|
||||||
assert password not in serialised
|
assert password not in serialised
|
||||||
|
|||||||
Reference in New Issue
Block a user