Skip to content

test(computer-tools): expect the Capabilities path in permission error assertion - #10446

Merged
Soulter merged 1 commit into
masterfrom
codex/fix-permission-test-assertion
Oct 7, 2026
Merged

Soulter merged 1 commit into
masterfrom
codex/fix-permission-test-assertion

Conversation

@Soulter

@Soulter Soulter commented Oct 7, 2026 •

Copy link
Copy Markdown
Member

Summary

Follow-up to #10445: the test assertion update was pushed after that PR had already been merged, so master currently has the new Capabilities error message but the test still asserts the old Normal Config path and fails.

This PR updates test_local_permission_policy_denies_disabled_execution to expect WebUI -> Config -> AI -> Capabilities, matching the message now returned by check_local_execution_permission.

Test plan

  • pytest tests/test_computer_tool_permissions.py — 84 passed

Summary by Sourcery

Bug Fixes:

  • Update the computer-tools permission test to match the current Capabilities configuration path in disabled-execution errors.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!

Sourcery assessment

Approved.


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

@Soulter
Soulter merged commit 9248baf into master Oct 7, 2026
22 of 23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant