Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion test/test_chat_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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``;
Expand Down
Loading