toulouse-maelis: ajouter le département aux informations de naissances #209
|
@ -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>
|
||||
|
|
|
@ -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'},
|
||||
|
|
Loading…
Reference in New Issue