diff --git a/tests/test_admin_pages.py b/tests/test_admin_pages.py index ea6440a1a..e2ca8e335 100644 --- a/tests/test_admin_pages.py +++ b/tests/test_admin_pages.py @@ -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/')