tests: fix new live extended content test (#41369)

This commit is contained in:
Frédéric Péters 2020-04-11 17:38:59 +02:00
parent c7bb6828b1
commit 8309c6e161
1 changed files with 1 additions and 1 deletions

View File

@ -7064,7 +7064,7 @@ def test_field_live_select_extended_content(pub, http_requests):
assert resp.html.find('div', {'data-field-id': '3'}).find('select')
resp.form['f2'] = 'plop'
live_resp = app.post('/foo/live?modified_field_id=2', params=resp.form.submit_fields())
assert live_resp.json['result']['3']['items']['foo'] == 'bar'
assert live_resp.json['result']['3']['items'][0]['foo'] == 'bar'
def test_field_live_comment_content(pub, http_requests):