def test_logout_auth_user(test_client):
    '\n    GIVEN a flask app\n    WHEN an authorized user logs out\n    THEN check that the user was logged out successfully\n    '
    log_in(test_client)
    response = test_client.get('auth/logout', follow_redirects=True)
    assert (response.status_code == 200)
    assert (b'You have been logged out.' in response.data)
GIVEN a flask app
WHEN an authorized user logs out
THEN check that the user was logged out successfully
def test_logout_auth_user(test_client):
    '\n    GIVEN a flask app\n    WHEN an authorized user logs out\n    THEN check that the user was logged out successfully\n    '
    log_in(test_client)
    response = test_client.get('auth/logout', follow_redirects=True)
    assert (response.status_code == 200)
    assert (b'You have been logged out.' in response.data)