From 6829877759b74a8be11a7ec1ffc2590360cc2861 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Thu, 29 Jun 2017 11:59:52 +0200 Subject: [PATCH] tests: create user in test_with_superuser test --- tests/test_admin_pages.py | 1 + 1 file changed, 1 insertion(+) 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/')