toulouse-maelis: ajouter le département aux informations de naissances #209

Merged
nroche merged 8 commits from wip/76608-parsifal-birth-county into main 2023-04-17 17:28:51 +02:00
2 changed files with 14 additions and 2 deletions
Showing only changes of commit 75e17ba29a - Show all commits

View File

@ -25,6 +25,18 @@
<code>125</code>
<libelle>ALBANIE</libelle>
</itemList>
<itemList>
<code>99100</code>
<libelle>FRANCE</libelle>
</itemList>
<itemList>
<code>99350</code>
<libelle>MAROC</libelle>
</itemList>
<itemList>
<code>99351</code>
<libelle>TUNISIE</libelle>
</itemList>
</ns2:readCountryListResponse>
</soap:Body>
</soap:Envelope>

View File

@ -656,8 +656,8 @@ def test_read_country_list(con, app):
url = get_endpoint('read-country-list')
resp = app.get(url)
assert resp.json['err'] == 0
assert len(resp.json['data']) == 3
assert resp.json['data'] == [
assert len(resp.json['data']) == 6
assert resp.json['data'][:3] == [
{'id': '212', 'code': '212', 'text': 'AFGHANISTAN', 'libelle': 'AFGHANISTAN'},
{'id': '303', 'code': '303', 'text': 'AFRIQUE DU SUD', 'libelle': 'AFRIQUE DU SUD'},
{'id': '125', 'code': '125', 'text': 'ALBANIE', 'libelle': 'ALBANIE'},