Set up basic testing framework with py.test
We're just testing that the about route works at all. We aren't even testing that it does anything. But this represents wiring together a bunch of things to get tests working including configuration specifications, DB connections, table definitions, the app itself, etc
This commit is contained in:
parent
861b6f0f71
commit
c84288eaac
3 changed files with 37 additions and 0 deletions
3
tests/api/test_about.py
Normal file
3
tests/api/test_about.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
def test_about(client):
|
||||
response = client.get('/about/')
|
||||
assert response.status_code == 200
|
Loading…
Add table
Add a link
Reference in a new issue