tests: make sure to wipe formdata before test
This commit is contained in:
parent
40231dcd9e
commit
88aeffda87
|
@ -827,6 +827,7 @@ def test_backoffice_item_double_filter(pub):
|
|||
create_superuser(pub)
|
||||
create_environment(pub)
|
||||
formdef = FormDef.get_by_urlname('form-title')
|
||||
formdef.data_class().wipe()
|
||||
formdef.fields.append(fields.ItemField(id='4', label='4th field', type='item',
|
||||
items=['a', 'b', 'c', 'd'],
|
||||
display_locations=['validation', 'summary', 'listings']))
|
||||
|
|
Loading…
Reference in New Issue