Orchestrata Ultimate › Tests › Reference › claude › test_notify_cli

Tests reference — tests/claude/test_notify_cli.py

Module of tests/claude, split out because the directory page would be too large.

Prose pending.

tests/claude/test_notify_cli.py

source · 9 tests · 145 lines

Tests for claude/tools/notify — the desktop notifier (REQ-020-241..243).

Kind Name Line Description
class TestNotifyArgv 65
method TestNotifyArgv.test_urgency_is_critical 66 REQ-020-242. The one flag that decides whether it is seen at all.
method TestNotifyArgv.test_message_reaches_notify_send 78
method TestNotifyArgv.test_default_title_when_no_flag 87
method TestNotifyArgv.test_title_flag_overrides_and_is_consumed 93 -t sets the title AND must not leak into the message body.
method TestNotifyArgv.test_timeout_is_set 106 A popup that vanishes instantly is as unread as one never sent.
class TestNotifyRefusals 115
method TestNotifyRefusals.test_empty_invocation_fails_loudly 116 No message is an error, not an empty notification.
method TestNotifyRefusals.test_title_flag_without_value_fails 124
class TestNotifyIsDeployable 132
method TestNotifyIsDeployable.test_script_is_executable 133 REQ-020-243: it is copied to ~/.claude/tools/notify and run there.
method TestNotifyIsDeployable.test_plugin_mirror_is_identical 138 The mirror is generated; a hand-edit to either copy is drift.