Docs
Search...
K
Home
testing
stub
unitelabs.bus.testing.stub
Attributes
Name
Stub
Type
Value
= typing.Callable[[bytes], typing.Optional[bytes]]
Description
Functions
stub_maker
(
request
:
bytes
,
expected_response
:
bytes
)
->
Stub
Parameters
Name
request
Type
bytes
Default
Description
Name
expected_response
Type
bytes
Default
Description
Response
Type
Stub
Description