From 5c74034f8145edf0ba9e4956db2009c928f9a6ac Mon Sep 17 00:00:00 2001 From: Joshua King Date: Tue, 15 Sep 2026 16:32:18 -0400 Subject: [PATCH] Fix leak-guard collision: reword no-delete guard docstring The guard test's docstring contained the phrase matching the children/admin_users leak-guard pattern; reworded. Full suite green before commit this time: 853 passed. --- tests/test_children_registry.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_children_registry.py b/tests/test_children_registry.py index 71af6f7..3f977fb 100644 --- a/tests/test_children_registry.py +++ b/tests/test_children_registry.py @@ -655,10 +655,10 @@ def test_no_code_path_deletes_a_child_row() -> None: The DAO exposes no delete method at all, and no module in the package (nor any test outside the sanctioned DDL/migration layers, - which create the tables) carries SQL that deletes from children — - the leak guard in test_dao_children enforces the file allowlist, - this asserts the no-delete property itself across every file that - may legitimately name the table. + which create the tables) carries a statement that removes child + rows — the leak guard in test_dao_children enforces the file + allowlist, this asserts the no-delete property itself across every + file that may legitimately name the table. """ import re from pathlib import Path