cmis: add streets to indexing_template_view test (#74646)
This commit is contained in:
parent
1776e0fbc4
commit
c84f3fa279
|
@ -1030,7 +1030,11 @@ def test_opengis_test_indexing_template_view(mocked_get, admin_user, app, connec
|
||||||
assert resp.json['data'] == []
|
assert resp.json['data'] == []
|
||||||
|
|
||||||
resp = app.get(url + '?template={{nom_commune}} {{nom_voie}}')
|
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))
|
resp = app.get('/manage/opengis/%s/query/%s/' % (connector.slug, query.pk))
|
||||||
assert url in resp.text
|
assert url in resp.text
|
||||||
|
|
Loading…
Reference in New Issue