tests: adjust for whitespace changes after #31874
This commit is contained in:
parent
c9e1f5f688
commit
86e9f58cdb
|
@ -362,7 +362,7 @@ def test_add_edit_cell(app, admin_user):
|
|||
resp.forms[0]['c%s-text' % cells[0].get_reference()].value = 'World Hello'
|
||||
resp = resp.forms[0].submit(xhr=True)
|
||||
assert resp.status_int == 200
|
||||
assert resp.text.startswith('<p><label')
|
||||
assert resp.text.strip().startswith('<p><label')
|
||||
|
||||
resp = app.get('/manage/pages/%s/' % page.id)
|
||||
assert resp.forms[0]['c%s-text' % cells[0].get_reference()].value == 'World Hello'
|
||||
|
@ -655,7 +655,7 @@ def test_edit_config_json_cell(app, admin_user):
|
|||
resp.forms[0]['c%s-test4' % cells[0].get_reference()].value = 'Text Area'
|
||||
resp = resp.form.submit(xhr=True)
|
||||
assert resp.status_int == 200
|
||||
assert resp.text.startswith('<p><label')
|
||||
assert resp.text.strip().startswith('<p><label')
|
||||
|
||||
resp = app.get('/manage/pages/%s/' % page.id)
|
||||
assert resp.form['c%s-test' % cells[0].get_reference()].value == 'World Hello'
|
||||
|
|
Loading…
Reference in New Issue