tests: fix declaration of page condition type

This commit is contained in:
Frédéric Péters 2018-03-24 10:41:21 +01:00
parent e7fabe042e
commit a26f30159f
1 changed files with 1 additions and 1 deletions

View File

@ -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')]