async def METHOD_NAME(self, client):
    with pytest.raises(HttpResponseError) as excinfo:
        await client.pet.has_models_param()
    assert isinstance(excinfo.value.model, PetSadError)
    assert excinfo.value.status_code == 500