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.
This commit is contained in:
1 parent
81e89ec7b2
commit
3f599ead04
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user