Bug: TestRabbitBroker does not throw error when rpc
and reply_to
are both provided
#1415
Labels
bug
Something isn't working
rpc
and reply_to
are both provided
#1415
Describe the bug
When using the
TestRabbitBroker
with the argumentwith_real=False
, the commandbroker.publish()
will allow the simultaneous use of the argumentsrpc
andreply_to
, even though this should trigger aSetupError
.How to reproduce
Save the following script as
example.py
, then runExpected behavior
I expect FastStream to throw an exception (which it does when using
with_real=True
):Observed behavior
There is no error and the test passes even though it should fail.
Environment
The text was updated successfully, but these errors were encountered: