def test_login(): tarallo_session = Tarallo(t_url, t_token) assert tarallo_session.status() == 200
def test_invalid_login(): tarallo_session = Tarallo(t_url, 'invalid') assert tarallo_session.status() == 401