tests: create user in test_with_superuser test
This commit is contained in:
parent
f92f41cb7c
commit
6829877759
|
@ -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/')
|
||||
|
||||
|
|
Loading…
Reference in New Issue