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``;