diff options
Diffstat (limited to 'tests/test_functional.py')
-rw-r--r-- | tests/test_functional.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/test_functional.py b/tests/test_functional.py deleted file mode 100644 index 6102063..0000000 --- a/tests/test_functional.py +++ /dev/null @@ -1,13 +0,0 @@ -from fietsboek import models - -def test_my_view_success(testapp, dbsession): - model = models.MyModel(name='one', value=55) - dbsession.add(model) - dbsession.flush() - - res = testapp.get('/', status=200) - assert res.body - -def test_notfound(testapp): - res = testapp.get('/badurl', status=404) - assert res.status_code == 404 |