Orchestrata Ultimate › Tests › Reference › postman › test_publish_topic

Tests reference — tests/postman/test_publish_topic.py

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

Prose pending.

tests/postman/test_publish_topic.py

source · 10 tests · 201 lines

Tests for Postman.publish_topic — the SPEC-002 FR-005/FR-006 pub/sub

Covers: postman.postman, postman.topic_registry, core.packet/ (package)

Kind Name Line Description
function test_publish_topic_requires_nonempty_topic 48
function test_publish_topic_delivers_to_matching_subscriber 53
function test_publish_topic_filter_gates_delivery 81 Two subscribers: one whose filter matches the payload, one that doesn't.
function test_publish_topic_no_self_delivery 111
function test_publish_topic_unsubscribe_stops_delivery 123
function test_publish_topic_subscriber_failure_recorded_not_aborting 137 A subscriber whose delivery packet cannot be built (empty agent_id
function test_publish_topic_wildcard_pattern 161
function test_publish_topic_no_subscribers 174
function test_topic_registry_property_exposes_a_topic_registry 185
function test_topic_subscription_to_dict_round_trips_filters 193