13 lines
247 B
Python
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
|
|
|