def test_home_no_auth(app):
    r = get_page('home', app, allow_redirects=False)
    r.raise_for_status()
    assert r.status_code == 302
    assert '/hub/login' in r.headers['Location']
dataset/ETHPy150Open jupyterhub/jupyterhub/jupyterhub/tests/test_pages.py/test_home_no_auth/original