def username():
    """allocate a temporary username

    unique each time the fixture is used
    """
    yield new_username()
allocate a temporary username

unique each time the fixture is used
jupyterhub/tests/conftest.py