From af825c930dfe771fb22770abf6984a47d15e3be7 Mon Sep 17 00:00:00 2001 From: Will Laws Date: Thu, 17 Sep 2026 23:20:07 +0000 Subject: [PATCH] style(test): black-format test_chat_tags.py to clear the main ratchet drift The Main Ratchet Audit flags test/test_chat_tags.py as a new black offender on main (#11616). The file is not in the black baseline, so the ratchet expects it formatted; this reformats it and changes no behaviour. Closes #11616 --- test/test_chat_tags.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/test_chat_tags.py b/test/test_chat_tags.py index 44d538382a88..7e874c03b012 100644 --- a/test/test_chat_tags.py +++ b/test/test_chat_tags.py @@ -547,7 +547,9 @@ def _failing_mint(tag_id, *, policy, status): assert ct.agent_tag_grant({"id": tag["id"]}) == ("add-remove", True) @pytest.mark.asyncio - async def test_status_patch_without_agent_keeps_the_recorded_policy(self, tmp_path, monkeypatch): + async def test_status_patch_without_agent_keeps_the_recorded_policy( + self, tmp_path, monkeypatch + ): """A status-inclusive PATCH that omits ``agent`` — the ordinary form-edit re-send — keeps the policy already in the protected store. A human-only ``none`` row stays ``none`` and a narrowed ``add-only`` stays ``add-only``;