flask-practice/tests/test_users.py
2022-03-09 12:05:43 -05:00

5 lines
139 B
Python

def test_list_users(client):
response = client.get('/api/users')
assert response.status_code == 200
assert response.json == []