upload app

This commit is contained in:
2023-11-27 20:46:54 +01:00
parent 388a305f8e
commit e69e1e3cc9
23 changed files with 482 additions and 0 deletions

7
tests/test_functional.py Normal file
View File

@@ -0,0 +1,7 @@
def test_root(testapp):
res = testapp.get('/', status=200)
assert b'Pyramid' in res.body
def test_notfound(testapp):
res = testapp.get('/badurl', status=404)
assert res.status_code == 404