tests: fix declaration of page condition type
This commit is contained in:
parent
e7fabe042e
commit
a26f30159f
|
@ -736,7 +736,7 @@ def test_form_multi_page_condition_on_first_page(pub):
|
|||
formdef = create_formdef()
|
||||
formdef.fields = [
|
||||
fields.PageField(id='0', label='1st page', type='page',
|
||||
condition={'type': 'condition', 'value': 'False'}),
|
||||
condition={'type': 'python', 'value': 'False'}),
|
||||
fields.StringField(id='1', label='string'),
|
||||
fields.PageField(id='2', label='2nd page', type='page'),
|
||||
fields.StringField(id='3', label='string 2')]
|
||||
|
|
Loading…
Reference in New Issue