mirror of
https://github.com/AstrBotDevs/AstrBot.git
synced 2026-10-16 06:58:51 +08:00
test(computer-tools): expect the Capabilities path in permission error assertion (#10446)
This commit is contained in:
@@ -239,7 +239,7 @@ def test_local_permission_policy_denies_disabled_execution():
|
||||
assert resolved.allow_execution is False
|
||||
assert error is not None
|
||||
assert "disabled by the Local permission policy" in error
|
||||
assert "WebUI -> Config -> Normal Config" in error
|
||||
assert "WebUI -> Config -> AI -> Capabilities" in error
|
||||
assert "Local Permission Policies" in error
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user