async def METHOD_NAME(self, client):
    assert issubclass(PetSadError, PetActionError)
    assert issubclass(PetHungryOrThirstyError, PetActionError)
    with pytest.raises(HttpResponseError) as excinfo:
        await client.pet.do_something("jump")
    assert isinstance(excinfo.value.model, PetSadError)
    assert excinfo.value.model.reason == "need more treats"
    with pytest.raises(ResourceNotFoundError) as excinfo:
        await client.pet.do_something("fetch")