cmis: add streets to indexing_template_view test (#74646)

This commit is contained in:
Nicolas Roche 2023-02-17 16:38:02 +01:00
parent 1776e0fbc4
commit c84f3fa279
1 changed files with 5 additions and 1 deletions

View File

@ -1030,7 +1030,11 @@ def test_opengis_test_indexing_template_view(mocked_get, admin_user, app, connec
assert resp.json['data'] == []
resp = app.get(url + '?template={{nom_commune}} {{nom_voie}}')
assert resp.json['data'] == ['grenoble', 'grenoble', 'grenoble place victor hugo']
assert resp.json['data'] == [
'grenoble boulevard edouard rey',
'grenoble place victor hugo',
'grenoble boulevard edouard rey',
]
resp = app.get('/manage/opengis/%s/query/%s/' % (connector.slug, query.pk))
assert url in resp.text