blob: bac5d63f4ca26dde75195f53b1bf90315aae295f (
plain)
1
2
3
4
5
6
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
|