toulouse-maelis: add new fields (#71641)
This commit is contained in:
parent
21e85e7644
commit
ba417a2768
|
@ -584,6 +584,7 @@ def test_read_family(mocked_post, mocked_get, read_family, con, app):
|
|||
'num': '613878',
|
||||
'lastname': 'DOE',
|
||||
'firstname': 'JHON',
|
||||
'maidenName': None,
|
||||
'quality': 'PERE',
|
||||
'civility': 'M.',
|
||||
'dateBirth': '1938-07-26T00:00:00+01:00',
|
||||
|
@ -608,6 +609,7 @@ def test_read_family(mocked_post, mocked_get, read_family, con, app):
|
|||
'civility_text': 'Monsieur',
|
||||
'quality_text': 'PERE',
|
||||
'quotientList': [],
|
||||
'indicatorList': [],
|
||||
'subscribeActivityList': [],
|
||||
}
|
||||
data = resp.json['data']['childList'][0]
|
||||
|
@ -625,6 +627,7 @@ def test_read_family(mocked_post, mocked_get, read_family, con, app):
|
|||
'dietcode_text': '3- RÉGIME SANS VIANDE',
|
||||
'bPhoto': True,
|
||||
'bLeaveAlone': False,
|
||||
'insurance': None,
|
||||
'indicatorList': [],
|
||||
'subscribeSchoolList': [],
|
||||
'mother': {'num': 613963, 'civility': 'MME', 'firstname': 'JANE', 'lastname': 'DOE'},
|
||||
|
@ -653,6 +656,14 @@ def test_read_family(mocked_post, mocked_get, read_family, con, app):
|
|||
"phone": "0612341234",
|
||||
"address": {"street1": "Alameda", "zipcode": "90220", "town": "Compton"},
|
||||
},
|
||||
'allergy1': None,
|
||||
'allergy2': None,
|
||||
'comment1': None,
|
||||
'comment2': None,
|
||||
'hospital': None,
|
||||
'isAuthHospital': None,
|
||||
'observ1': None,
|
||||
'observ2': None,
|
||||
"vaccinList": [
|
||||
{
|
||||
"code": "ROR",
|
||||
|
@ -749,6 +760,7 @@ def test_read_rl2(mocked_post, mocked_get, con, app):
|
|||
'num': '613879',
|
||||
'lastname': 'DOE',
|
||||
'firstname': 'JANE',
|
||||
'maidenName': None,
|
||||
'quality': 'MERE',
|
||||
'civility': 'MME',
|
||||
'dateBirth': '1940-06-22T00:00:00+02:00',
|
||||
|
@ -785,6 +797,7 @@ def test_read_rl2(mocked_post, mocked_get, con, app):
|
|||
'civility_text': 'Madame',
|
||||
'quality_text': 'MERE',
|
||||
'quotientList': [],
|
||||
'indicatorList': [],
|
||||
'subscribeActivityList': [],
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue