tests: make sure test_forms can be run independantly

This commit is contained in:
Frédéric Péters 2019-03-19 10:24:52 +01:00
parent 416f4c5b6b
commit f64db2a25d
1 changed files with 1 additions and 0 deletions

View File

@ -174,6 +174,7 @@ def test_admin_for_all(pub):
user.store()
def test_forms(pub):
user = create_superuser(pub)
app = login(get_app(pub))
resp = app.get('/backoffice/forms/')
assert 'You first have to define roles.' in resp.body