tests: update for ods being a view (#30865)
This commit is contained in:
parent
24943e3136
commit
85112b4ec8
|
@ -113,7 +113,10 @@ def test_ods(schema1, app, admin):
|
|||
form.set('drilldown_x', 'innersubcategory')
|
||||
response = form.submit('visualize')
|
||||
assert 'big-msg-info' not in response
|
||||
ods_response = response.form.submit('ods')
|
||||
response = response.click(href='save')
|
||||
response.form['name'] = 'test'
|
||||
response = response.form.submit().follow()
|
||||
ods_response = response.click(href='ods')
|
||||
# skip first line of ODS table as it's a header not present in the HTML display
|
||||
assert get_table(response) == get_ods_table(ods_response)[1:]
|
||||
root = get_ods_document(ods_response)
|
||||
|
|
Loading…
Reference in New Issue