Update
This commit is contained in:
@@ -48,6 +48,20 @@ def test_seo_report_is_public_read_only_http_action():
|
||||
assert "uid" in names
|
||||
|
||||
|
||||
def test_ui_prompt_is_local_interaction_action():
|
||||
from devplacepy.services.devii.registry import CATALOG
|
||||
|
||||
by_name = CATALOG.by_name()
|
||||
action = by_name["ui_prompt"]
|
||||
assert action.handler == "interaction"
|
||||
assert action.requires_auth is False
|
||||
names = {p.name for p in action.params}
|
||||
assert "title" in names
|
||||
assert "widgets" in names
|
||||
assert "ui_cancel" in by_name
|
||||
assert "ui_notify" in by_name
|
||||
|
||||
|
||||
def test_block_mute_tools_exist_as_http_actions():
|
||||
expected = {
|
||||
"block_user": "/block/{username}",
|
||||
|
||||
Reference in New Issue
Block a user