upload app
This commit is contained in:
7
tests/test_functional.py
Normal file
7
tests/test_functional.py
Normal 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
|
||||
Reference in New Issue
Block a user