From 3f599ead042ba17f15cc1b4a78cd8f733f0f3f9d Mon Sep 17 00:00:00 2001 From: nesquena-hermes Date: Sat, 4 Jul 2026 20:15:20 +0000 Subject: [PATCH] fix(test): drop the one genuinely-unused _seed_session_dir binding (lint) CI lint (diff-scoped ruff F) flagged 'models =' unused at line 92 (that test uses only the seed side-effect). Removed the assignment there; kept it at line 320 where test_clear_survives_startup_recovery legitimately reads models.SESSION_DIR. Ruff clean, 11 #5532 tests pass. --- tests/test_issue5532_clear_truncation_watermark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_issue5532_clear_truncation_watermark.py b/tests/test_issue5532_clear_truncation_watermark.py index 73d7160b..43fbece7 100644 --- a/tests/test_issue5532_clear_truncation_watermark.py +++ b/tests/test_issue5532_clear_truncation_watermark.py @@ -89,7 +89,7 @@ def test_clear_endpoint_sets_truncation_watermark(monkeypatch, tmp_path): This is the fail-without-fix assertion: on origin/master the watermark stays None because the handler never set it. """ - models = _seed_session_dir(monkeypatch, tmp_path) + _seed_session_dir(monkeypatch, tmp_path) from api.models import Session session = Session(