13 lines
254 B
Python
13 lines
254 B
Python
import pytest
|
|
|
|
def test_signup(client):
|
|
response = client.get('/accounts/register')
|
|
|
|
assert response.status_code == 200
|
|
|
|
def test_registration(client):
|
|
response = client.post('/accounts/register')
|
|
|
|
assert response.status_code == 201
|
|
|