allpawcare-accounts/tests/test_login.py
2024-04-22 21:14:54 -04:00

13 lines
247 B
Python

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