import pytest def test_login(client): response = client.get('/accounts/login') assert response.status_code == 200 def test_authenticate(client): response = client.post('/accounts/login') assert response.status_code == 201