Orchestrata Ultimate › Tests › Reference › scripts › test_run_conversation_consumer

Tests reference — tests/scripts/test_run_conversation_consumer.py

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

Prose pending.

tests/scripts/test_run_conversation_consumer.py

source · 12 tests · 490 lines

Tests for scripts/run_conversation_consumer.py — the standing SPEC-021

Covers: core.graph.interfaces, core.graph.repository, core.graph_factory

Kind Name Line Description
function test_argparse_rejects_a_non_float_interval 398
class TestStopFlag 249
method TestStopFlag.test_initial_state_is_not_stopping 250
method TestStopFlag.test_request_sets_stopping 253
method TestStopFlag.test_request_accepts_sigint_too 259
class TestConversationRedisPinning 268
method TestConversationRedisPinning.test_daemon_refuses_to_start_without_conversation_redis_keys 269 No silent fallback to REDIS_*: the ambient keys are healthy here and
method TestConversationRedisPinning.test_build_consumer_raises_when_keys_unset_and_accepts_env_seam 286
method TestConversationRedisPinning.test_flush_with_work_is_logged_at_info 299
class TestOnceMode 316
method TestOnceMode.test_once_on_empty_queue_exits_zero 317
method TestOnceMode.test_once_drains_seeded_messages_into_the_graph 327
method TestOnceMode.test_env_vars_supply_default_configuration 370 CONVERSATION_QUEUE_KEY / CONVERSATION_CONSUMER_INTERVAL
class TestDaemonSignalStop 411
method TestDaemonSignalStop.test_sigterm_during_idle_sleep_stops_cleanly 412 The interruptible idle wait must honour a signal promptly.
method TestDaemonSignalStop.test_sigint_after_backlog_drain_stops_cleanly_and_final_flush_lands 440 Backlog fast-drain (no idle sleep while flushes do work), then a