Files
html_cleanup/tests/test_functional.py
2023-11-27 20:46:54 +01:00

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