tests: fix qrcode test so it can be run standalone (#36515)

This commit is contained in:
Frédéric Péters 2019-11-13 11:50:53 +01:00
parent 4b181fc1bf
commit 5a4302b461
1 changed files with 1 additions and 0 deletions

View File

@ -1006,6 +1006,7 @@ def test_form_import(pub):
assert FormDef.get(1).fields[1].id == '2'
def test_form_qrcode(pub):
create_superuser(pub)
create_role()
FormDef.wipe()