async def mockservice(request, app, service_name):
    """Mock a service with no external service url"""
    yield await _mockservice(request, app, name=service_name, url=False)
Mock a service with no external service url
jupyterhub/tests/conftest.py