toulouse-maelis: add building letters to complement referential (#79386)
gitea/passerelle/pipeline/head This commit looks good
Details
gitea/passerelle/pipeline/head This commit looks good
Details
This commit is contained in:
parent
122a0f6c22
commit
56e2a4b1d9
|
@ -163,7 +163,9 @@ class ToulouseMaelis(BaseResource, HTTPResource):
|
|||
def update_family_referentials(self):
|
||||
# local referentials
|
||||
complement_data = [
|
||||
{'id': 'B', 'text': 'bis'},
|
||||
{'id': 'A', 'text': 'bâtiment A'},
|
||||
{'id': 'B', 'text': 'bâtiment B, ou bis'},
|
||||
{'id': 'C', 'text': 'bâtiment C'},
|
||||
{'id': 'Q', 'text': 'quater'},
|
||||
{'id': 'T', 'text': 'ter'},
|
||||
]
|
||||
|
|
|
@ -811,7 +811,9 @@ def test_read_complement_list(con, app):
|
|||
resp = app.get(url)
|
||||
assert resp.json['err'] == 0
|
||||
assert resp.json['data'] == [
|
||||
{'id': 'B', 'text': 'bis'},
|
||||
{'id': 'A', 'text': 'bâtiment A'},
|
||||
{'id': 'B', 'text': 'bâtiment B, ou bis'},
|
||||
{'id': 'C', 'text': 'bâtiment C'},
|
||||
{'id': 'Q', 'text': 'quater'},
|
||||
{'id': 'T', 'text': 'ter'},
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue