TestRabbitBroker
faststream.rabbit.testing.TestRabbitBroker #
TestRabbitBroker(
broker: RabbitBroker,
/,
*,
with_real: bool = False,
connect_only: bool | None = None,
)
TestRabbitBroker(
*brokers: RabbitBroker,
with_real: bool = False,
connect_only: bool | None = None,
)
TestRabbitBroker(
*brokers: RabbitBroker,
with_real: bool = False,
connect_only: bool | None = None,
)
Bases: TestBroker[RabbitBroker, EnterType]
A class to test RabbitMQ brokers.
Source code in faststream/rabbit/testing.py
71 72 73 74 75 76 77 78 79 80 81 | |
create_publisher_fake_subscriber #
create_publisher_fake_subscriber(
broker: RabbitBroker, publisher: RabbitPublisher
) -> tuple[RabbitSubscriber, bool]
Source code in faststream/rabbit/testing.py
114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 | |