Skip to content

Commit 579184d

Browse files
Harden computer-action helper usage guard assertions
Co-authored-by: Shri Sukhani <shrisukhani@users.noreply.github.com>
1 parent 1046b9f commit 579184d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/test_computer_action_endpoint_helper_usage.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ def test_computer_action_managers_use_shared_endpoint_normalizer():
1616
module_text = Path(module_path).read_text(encoding="utf-8")
1717
assert "normalize_computer_action_endpoint(" in module_text
1818
assert "session.computer_action_endpoint" not in module_text
19+
assert "computer_action_endpoint must be a string" not in module_text
20+
assert "computer_action_endpoint must not contain control characters" not in module_text

0 commit comments

Comments
 (0)