8 lines
205 B
Python
8 lines
205 B
Python
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
|