tests: create user in test_with_superuser test

This commit is contained in:
Frédéric Péters 2017-06-29 11:59:52 +02:00
parent f92f41cb7c
commit 6829877759
1 changed files with 1 additions and 0 deletions

View File

@ -99,6 +99,7 @@ def test_with_user(pub):
assert resp.location == 'http://example.net/login/?next=http%3A%2F%2Fexample.net%2Fbackoffice%2F'
def test_with_superuser(pub):
create_superuser(pub)
app = login(get_app(pub))
app.get('/backoffice/')