def METHOD_NAME(env, jupyterhub_auth):
    # should still fail, because the user hasn't been set
    env['JUPYTERHUB_API_TOKEN'] = 'abcd1234'
    with pytest.raises(JupyterhubEnvironmentError):
        jupyterhub_auth.remove_student_from_course('foo', 'course123')