patch_wobbly

safir.testing.uws.patch_wobbly(respx_mock, wobbly_url)

Set up the mock for a Wobbly server.

Parameters:
  • respx_mock (Router) – Mock router.

  • wobby_url – Base URL on which Wobbly is “listening.”

  • wobbly_url (str)

Returns:

Mock Wobbly service.

Return type:

MockWobbly