toulouse_maelis: flagCom is now returned by readFamily (#67782)
This commit is contained in:
parent
b9f01eeb42
commit
79d3cdbe60
|
@ -6,6 +6,7 @@
|
|||
<number>196514</number>
|
||||
<category>BI</category>
|
||||
<situation>M</situation>
|
||||
<flagCom>true</flagCom>
|
||||
<nbChild>2</nbChild>
|
||||
<nbTotalChild>2</nbTotalChild>
|
||||
<RL1>
|
||||
|
|
|
@ -521,6 +521,26 @@ def test_read_family(mocked_post, mocked_get, con, app):
|
|||
|
||||
resp = app.get(url + '?NameID=local')
|
||||
assert resp.json['err'] == 0
|
||||
data = resp.json['data']
|
||||
del data['RL1']
|
||||
del data['RL2']
|
||||
del data['childList']
|
||||
del data['authorizedPersonList']
|
||||
del data['emergencyPersonList']
|
||||
assert data == {
|
||||
'number': 196514,
|
||||
'category': 'BI',
|
||||
'situation': 'M',
|
||||
'flagCom': True,
|
||||
'nbChild': 2,
|
||||
'nbTotalChild': 2,
|
||||
'nbAES': None,
|
||||
'quotientList': [],
|
||||
'indicatorList': [],
|
||||
'childErrorList': [],
|
||||
'category_text': 'BIPARENTALE',
|
||||
'situation_text': 'Marié (e)',
|
||||
}
|
||||
assert resp.json['data']['RL1'] == {
|
||||
'num': '613878',
|
||||
'lastname': 'COSTANZE',
|
||||
|
|
Loading…
Reference in New Issue