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.
This commit is contained in:
@@ -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
|
The DAO exposes no delete method at all, and no module in the
|
||||||
package (nor any test outside the sanctioned DDL/migration layers,
|
package (nor any test outside the sanctioned DDL/migration layers,
|
||||||
which create the tables) carries SQL that deletes from children —
|
which create the tables) carries a statement that removes child
|
||||||
the leak guard in test_dao_children enforces the file allowlist,
|
rows — the leak guard in test_dao_children enforces the file
|
||||||
this asserts the no-delete property itself across every file that
|
allowlist, this asserts the no-delete property itself across every
|
||||||
may legitimately name the table.
|
file that may legitimately name the table.
|
||||||
"""
|
"""
|
||||||
import re
|
import re
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
|
|||||||
Reference in New Issue
Block a user