style: apply review test formatting

This commit is contained in:
lda
2026-09-10 02:19:29 +07:00 Verified
parent 0813b9fcfc
commit 337af914b4
4 changed files with 8 additions and 10 deletions
+6 -3
View File
@@ -211,9 +211,12 @@ def test_interval_identity_rejects_naive_or_half_specified_bounds(
def test_history_identity_without_interval_still_uses_created_time() -> None:
created = datetime(2026, 9, 8, 14, 0, tzinfo=UTC)
assert entry_occurrence_id(
HistoryEntry(schedule_id="a", kind="interval-summary"), created
) == "a|summary|2026-09-08T14:00:00+00:00"
assert (
entry_occurrence_id(
HistoryEntry(schedule_id="a", kind="interval-summary"), created
)
== "a|summary|2026-09-08T14:00:00+00:00"
)
def test_failed_run_persists_reason_without_callback(tmp_path: Path) -> None: