chore(state): tidy post-salvage residue in state.db durability test

Two leftovers from the #91852 descope (integrity-check tests removed but their
scaffolding stayed):

- Drop the now-unused `import pytest` (orphaned when the verify_state_db_integrity
  tests that used it were removed; no markers/raises/fixtures remain in this file).
- Rename the `# Defect 1:` section label to just `# Repair-path write durability`
  — the sibling "Defect 2" section was descoped out, leaving the numbering dangling.

Test-only, no behavior change. tests/test_state_db_write_durability.py: 4 passed.
This commit is contained in:
kshitijk4poor
2026-08-22 04:13:17 +05:30
parent 3bdc2165c3
commit 29c9066577
+1 -3
View File
@@ -34,8 +34,6 @@ import sqlite3
import sys
from pathlib import Path
import pytest
import hermes_state
from hermes_state import (
_connect_repair_durable,
@@ -55,7 +53,7 @@ def _make_db(tmp_path: Path) -> Path:
return db
# ── Defect 1: repair-path write durability ──────────────────────────────
# ── Repair-path write durability ────────────────────────────────────────
def test_connect_repair_durable_sets_macos_barriers(tmp_path: Path) -> None: