toulouse-maelis: update referentials on functests (#70982)

This commit is contained in:
Nicolas Roche 2022-12-08 12:21:04 +01:00
parent d4f462a16c
commit bd758e75d0
16 changed files with 15621 additions and 10054 deletions

View File

@ -4,6 +4,7 @@ import json
import os
import subprocess
import time
from urllib import parse as urlparse
from uuid import uuid4
import pytest
@ -313,7 +314,19 @@ def conn(request):
@pytest.fixture(scope='session')
def create_data(request, conn):
def referentials(conn):
url = urlparse.urlparse(conn)
slug = url.path.split('/')[2]
cmd = (
'passerelle-manage tenant_command cron -v2 --connector toulouse-maelis daily --connector-slug %s --domain %s'
% (slug, url.netloc)
)
output = subprocess.run(cmd, shell=True, check=False, stdout=None, stderr=None)
assert output.returncode == 0, 'fails to run cron: %s' % cmd
@pytest.fixture(scope='session')
def create_data(request, conn, referentials):
name_id = request.config.getoption('--nameid')
unlink(conn, name_id)
lastname = uuid4().hex[0:30]
@ -344,7 +357,7 @@ def create_data(request, conn):
@pytest.fixture(scope='session')
def update_data(request, conn):
def update_data(request, conn, referentials):
name_id = request.config.getoption('--nameid')
unlink(conn, name_id)

View File

@ -1,14 +1,20 @@
[
{
"id": "BI",
"text": "BIPARENTALE"
"code": "BI",
"text": "BIPARENTALE",
"libelle": "BIPARENTALE"
},
{
"id": "ACCEUI",
"text": "FAMILLE D'ACCUEIL"
"code": "ACCEUI",
"text": "FAMILLE D'ACCUEIL",
"libelle": "FAMILLE D'ACCUEIL"
},
{
"id": "MONO",
"text": "MONOPARENTALE"
"code": "MONO",
"text": "MONOPARENTALE",
"libelle": "MONOPARENTALE"
}
]

View File

@ -1,66 +1,66 @@
[
{
"code": "APPDENTAIRE",
"label": "Port appareil dentaire",
"typeDesc": "NONE",
"choiceList": [],
"id": "APPDENTAIRE",
"text": "Port appareil dentaire"
},
{
"id": "AUTRE",
"code": "AUTRE",
"text": "Autre",
"label": "Autre",
"typeDesc": "NOTE",
"choiceList": [],
"id": "AUTRE",
"text": "Autre"
"choiceList": []
},
{
"id": "AVL",
"code": "AVL",
"text": "Auxiliaire de Vie loisirs",
"label": "Auxiliaire de Vie loisirs",
"typeDesc": "NONE",
"choiceList": [],
"id": "AVL",
"text": "Auxiliaire de Vie loisirs"
"choiceList": []
},
{
"id": "AVS",
"code": "AVS",
"text": "Auxiliaire de Vie scolaire",
"label": "Auxiliaire de Vie scolaire ",
"typeDesc": "NONE",
"choiceList": [],
"id": "AVS",
"text": "Auxiliaire de Vie scolaire"
"choiceList": []
},
{
"id": "ETABSPEC",
"code": "ETABSPEC",
"text": "Etablissement sp\u00e9cialis\u00e9",
"label": "Etablissement sp\u00e9cialis\u00e9",
"typeDesc": "NOTE",
"choiceList": [],
"id": "ETABSPEC",
"text": "Etablissement sp\u00e9cialis\u00e9"
},
{
"code": "LENTILLE",
"label": "Port lentilles de contact",
"typeDesc": "NONE",
"choiceList": [],
"id": "LENTILLE",
"text": "Port lentilles de contact"
},
{
"code": "LUNETTE",
"label": "Port de lunettes",
"typeDesc": "NONE",
"choiceList": [],
"id": "LUNETTE",
"text": "Port de lunettes"
"choiceList": []
},
{
"id": "MDPH",
"code": "MDPH",
"text": "Notification MDPH",
"label": "Notification MDPH",
"typeDesc": "NONE",
"choiceList": [],
"id": "MDPH",
"text": "Notification MDPH"
"choiceList": []
},
{
"id": "APPDENTAIRE",
"code": "APPDENTAIRE",
"text": "Port appareil dentaire",
"label": "Port appareil dentaire",
"typeDesc": "NONE",
"choiceList": []
},
{
"id": "LUNETTE",
"code": "LUNETTE",
"text": "Port de lunettes",
"label": "Port de lunettes",
"typeDesc": "NONE",
"choiceList": []
},
{
"id": "LENTILLE",
"code": "LENTILLE",
"text": "Port lentilles de contact",
"label": "Port lentilles de contact",
"typeDesc": "NONE",
"choiceList": []
}
]

View File

@ -1,10 +1,14 @@
[
{
"id": "MME",
"text": "Madame"
"code": "MME",
"text": "Madame",
"libelle": "Madame"
},
{
"id": "M.",
"text": "Monsieur"
"code": "M.",
"text": "Monsieur",
"libelle": "Monsieur"
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,110 +1,164 @@
[
{
"id": "14",
"text": "AGENT DE MAITRISE"
"code": "14",
"text": "AGENT DE MAITRISE",
"libelle": "AGENT DE MAITRISE"
},
{
"id": "1",
"text": "AGRICULTEUR"
"code": "1",
"text": "AGRICULTEUR",
"libelle": "AGRICULTEUR"
},
{
"id": "ART",
"text": "ARTISAN"
"code": "ART",
"text": "ARTISAN",
"libelle": "ARTISAN"
},
{
"id": "2",
"text": "ARTISAN-COMMERCANT"
"code": "2",
"text": "ARTISAN-COMMERCANT",
"libelle": "ARTISAN-COMMERCANT"
},
{
"id": "15",
"text": "AUTRES"
"code": "15",
"text": "AUTRES",
"libelle": "AUTRES"
},
{
"id": "CADR",
"text": "CADRE"
"id": "4",
"code": "4",
"text": "CADRE",
"libelle": "CADRE"
},
{
"id": "13",
"text": "CADRE SUPERIEUR"
"code": "13",
"text": "CADRE SUPERIEUR",
"libelle": "CADRE SUPERIEUR"
},
{
"id": "3",
"text": "CHEF D'ENTREPRISE"
"code": "3",
"text": "CHEF D'ENTREPRISE",
"libelle": "CHEF D'ENTREPRISE"
},
{
"id": "CHOM",
"text": "CHOMEUR"
"code": "CHOM",
"text": "CHOMEUR",
"libelle": "CHOMEUR"
},
{
"id": "COMM",
"text": "COMMERCANT"
"id": "7",
"code": "7",
"text": "COMMERCANT",
"libelle": "COMMERCANT"
},
{
"id": "10",
"text": "DEMANDEUR D'EMPLOI"
"code": "10",
"text": "DEMANDEUR D'EMPLOI",
"libelle": "DEMANDEUR D'EMPLOI"
},
{
"id": "DIV",
"text": "DIVERS"
"code": "DIV",
"text": "DIVERS",
"libelle": "DIVERS"
},
{
"id": "5",
"text": "EMPLOYE"
"code": "5",
"text": "EMPLOYE",
"libelle": "EMPLOYE"
},
{
"id": "17",
"text": "ENSEIGNANT"
"code": "17",
"text": "ENSEIGNANT",
"libelle": "ENSEIGNANT"
},
{
"id": "8",
"text": "ETUDIANT"
"code": "8",
"text": "ETUDIANT",
"libelle": "ETUDIANT"
},
{
"id": "11",
"text": "FONCTIONNAIRE"
"code": "11",
"text": "FONCTIONNAIRE",
"libelle": "FONCTIONNAIRE"
},
{
"id": "MAIR",
"text": "MAIRIE DE NICE"
"code": "MAIR",
"text": "MAIRIE DE NICE",
"libelle": "MAIRIE DE NICE"
},
{
"id": "6",
"text": "OUVRIER"
"code": "6",
"text": "OUVRIER",
"libelle": "OUVRIER"
},
{
"id": "PERENS",
"text": "PERISCO ENSEIGNANT"
"code": "PERENS",
"text": "PERISCO ENSEIGNANT",
"libelle": "PERISCO ENSEIGNANT"
},
{
"id": "PEREXT",
"text": "PERISCO EXTERNE"
"code": "PEREXT",
"text": "PERISCO EXTERNE",
"libelle": "PERISCO EXTERNE"
},
{
"id": "PERMAI",
"text": "PERISCO MAIRIE DE NICE"
"code": "PERMAI",
"text": "PERISCO MAIRIE DE NICE",
"libelle": "PERISCO MAIRIE DE NICE"
},
{
"id": "PERANI",
"text": "PERISCO S.ANIMATION"
"code": "PERANI",
"text": "PERISCO S.ANIMATION",
"libelle": "PERISCO S.ANIMATION"
},
{
"id": "LIB",
"text": "PROFESSION LIBERALE"
"id": "9",
"code": "9",
"text": "PROFESSION LIBERALE",
"libelle": "PROFESSION LIBERALE"
},
{
"id": "12",
"text": "RETRAITE"
"code": "12",
"text": "RETRAITE",
"libelle": "RETRAITE"
},
{
"id": "RMI",
"text": "REVENU MINIMUM D'INSERTION"
"code": "RMI",
"text": "REVENU MINIMUM D'INSERTION",
"libelle": "REVENU MINIMUM D'INSERTION"
},
{
"id": "SANPRO",
"text": "SANS PROFESSION"
"id": "16",
"code": "16",
"text": "SANS PROFESSION",
"libelle": "SANS PROFESSION"
},
{
"id": "SEC",
"text": "SECRETAIRE"
"code": "SEC",
"text": "SECRETAIRE",
"libelle": "SECRETAIRE"
}
]

View File

@ -1,34 +1,50 @@
[
{
"id": "BB",
"text": "REPAS BEBE"
},
{
"id": "MSP",
"text": "REPAS MOYEN SANS PORC"
},
{
"id": "MSV",
"text": "REPAS MOYEN SANS VIANDE"
},
{
"id": "MST",
"text": "REPAS MOYEN STANDARD"
},
{
"id": "STD",
"text": "1- REPAS STANDARD"
"code": "STD",
"text": "1- REPAS STANDARD",
"libelle": "1- REPAS STANDARD"
},
{
"id": "RSP",
"text": "2- R\u00c9GIME SANS PORC"
"code": "RSP",
"text": "2- R\u00c9GIME SANS PORC",
"libelle": "2- R\u00c9GIME SANS PORC"
},
{
"id": "RSV",
"text": "3- R\u00c9GIME SANS VIANDE"
"code": "RSV",
"text": "3- R\u00c9GIME SANS VIANDE",
"libelle": "3- R\u00c9GIME SANS VIANDE"
},
{
"id": "PAI",
"text": "4- PROTOCOLE D'ACCUEIL INDIVIDUALIS\u00c9"
"code": "PAI",
"text": "4- PROTOCOLE D'ACCUEIL INDIVIDUALIS\u00c9",
"libelle": "4- PROTOCOLE D'ACCUEIL INDIVIDUALIS\u00c9"
},
{
"id": "BB",
"code": "BB",
"text": "REPAS BEBE",
"libelle": "REPAS BEBE"
},
{
"id": "MSP",
"code": "MSP",
"text": "REPAS MOYEN SANS PORC",
"libelle": "REPAS MOYEN SANS PORC"
},
{
"id": "MSV",
"code": "MSV",
"text": "REPAS MOYEN SANS VIANDE",
"libelle": "REPAS MOYEN SANS VIANDE"
},
{
"id": "MST",
"code": "MST",
"text": "REPAS MOYEN STANDARD",
"libelle": "REPAS MOYEN STANDARD"
}
]

View File

@ -1,370 +1,554 @@
[
{
"id": "A10004460232",
"text": "LEVENS"
},
{
"id": "A10007752822",
"text": "LA COLLE SUR LOUP"
},
{
"id": "A10001133770",
"text": "ASSIM"
},
{
"id": "A10007751483",
"text": "EZE"
},
{
"id": "A10008152785",
"text": "LUCERAM"
},
{
"id": "A10008170056",
"text": "SAINT ANDRE LE MANOIR"
},
{
"id": "A10008425613",
"text": "LA TRINITE ENFANTS PLACES"
},
{
"id": "A10001496896",
"text": "MONTJOYE"
},
{
"id": "A10001715627",
"text": "FOYER DE L'ENFANCE DES AM"
},
{
"id": "A10007182676",
"text": "LA TRINITE"
},
{
"id": "A10010030250",
"text": "PUGET SUR ARGENS"
},
{
"id": "A10001481849",
"text": "BEAUSOLEIL"
},
{
"id": "A10000980674",
"text": "SAINT JEAN CAP FERRAT"
},
{
"id": "A10000980692",
"text": "BERRE LES ALPES"
},
{
"id": "A10001314895",
"text": "VILLE DE NICE"
},
{
"id": "A10001474792",
"text": "PEP 06 - CORNICHE"
},
{
"id": "A10001474782",
"text": "PEP 06 MADELEINE"
},
{
"id": "A10007182941",
"text": "VALBONNE SOPHIA ANTIPOLIS"
},
{
"id": "A10007182961",
"text": "GATTIERES"
},
{
"id": "A10010601009",
"text": "FONDATION DE NICE"
},
{
"id": "A10001427675",
"text": "CANNES"
},
{
"id": "A10000802907",
"text": "VILLEFRANCHE SUR MER"
},
{
"id": "A10000802910",
"text": "SAINT ANDRE DE LA ROCHE"
},
{
"id": "A10007751693",
"text": "SAINT LAURENT DU VAR"
},
{
"id": "A10007751913",
"text": "LA TOUR"
},
{
"id": "A10001039676",
"text": "IME CORNICHE FLEURIE"
},
{
"id": "A10001612084",
"text": "VENCE"
},
{
"id": "A10000980566",
"text": "ANTIBES"
},
{
"id": "A10000980567",
"text": "ASPREMONT"
},
{
"id": "A10000980568",
"text": "CAGNES SUR MER"
},
{
"id": "A10000980569",
"text": "CASTAGNIERS"
},
{
"id": "A10000980570",
"text": "CONTES"
},
{
"id": "A10000980571",
"text": "FALICON"
},
{
"id": "A10000980572",
"text": "GILETTE"
},
{
"id": "A10000980573",
"text": "TOUET DE L ESCARENE"
},
{
"id": "A10001715572",
"text": "CAP D AIL"
},
{
"id": "A10000980575",
"text": "MENTON"
},
{
"id": "A10000980577",
"text": "ROQUEBRUNE CAP MARTIN"
},
{
"id": "A10000980584",
"text": "VALLAURIS"
},
{
"id": "A10001715581",
"text": "TOURRETTE LEVENS"
},
{
"id": "A10004071438",
"text": "ASSOCIATION LOU MERILHOUN LEVENS"
},
{
"id": "A10007179260",
"text": "BEAULIEU SUR MER"
},
{
"id": "A10000980388",
"text": "APAJH"
},
{
"id": "A10007751440",
"text": "CARROS"
},
{
"id": "A10007751441",
"text": "BLAUSASC"
},
{
"id": "A10000979354",
"text": "ATIAM"
},
{
"id": "A10000979370",
"text": "UDAF"
"id": "A10000979374",
"code": "ALC L OLIVIER",
"text": "ALC L OLIVIER",
"libelle": null
},
{
"id": "A10000979372",
"text": "ALVA 06"
"code": "ALVA 06",
"text": "ALVA 06",
"libelle": null
},
{
"id": "A10000979373",
"text": "IES CLEMENT ADER"
"id": "A10000980566",
"code": "ANTIBES",
"text": "ANTIBES",
"libelle": null
},
{
"id": "A10000979374",
"text": "ALC L OLIVIER"
},
{
"id": "A10000979375",
"text": "IESEDA LES CHANTERELLES"
},
{
"id": "A10000979376",
"text": "IME TERRASSES"
},
{
"id": "A10007751879",
"text": "SAINT PAUL DE VENCE"
},
{
"id": "A10007753594",
"text": "VILLENEUVE LOUBET"
},
{
"id": "A10013129309",
"text": "TOURETTES-SUR-LOUP"
},
{
"id": "A10013447888",
"text": "COLOMARS"
},
{
"id": "A10015115495",
"text": "BREIL SUR ROYA"
},
{
"id": "A10015255908",
"text": "GRASSE"
},
{
"id": "A10016957436",
"text": "SAINT BLAISE"
},
{
"id": "A10013128210",
"text": "BONSON"
},
{
"id": "A10013128217",
"text": "CANTARON"
},
{
"id": "A10015126217",
"text": "MANDELIEU"
},
{
"id": "A10015528233",
"text": "THEOULE SUR MER"
"id": "A10000980388",
"code": "APAJH",
"text": "APAJH",
"libelle": null
},
{
"id": "A10016401771",
"text": "ASCROS"
"code": "ASCROS",
"text": "ASCROS",
"libelle": null
},
{
"id": "A10016990309",
"text": "CANNES LA BOCCA"
"id": "A10000980567",
"code": "ASPREMONT",
"text": "ASPREMONT",
"libelle": null
},
{
"id": "A10012498607",
"text": "LA GAUDE"
"id": "A10001133770",
"code": "ASSIM",
"text": "ASSIM",
"libelle": null
},
{
"id": "A10013123067",
"text": "DRAP"
"id": "A10004071438",
"code": "ASSOCIATION LOU MERILHOUN LEVENS",
"text": "ASSOCIATION LOU MERILHOUN LEVENS",
"libelle": null
},
{
"id": "A10014621894",
"text": "MALAUSSENE"
},
{
"id": "A10014922597",
"text": "ROQUEFORT LES PINS"
},
{
"id": "A10014927854",
"text": "L ESCARENE"
},
{
"id": "A10014938988",
"text": "MOUGINS"
},
{
"id": "A10013129048",
"text": "SOSPEL"
},
{
"id": "A10013459160",
"text": "LE CANNET"
},
{
"id": "A10015677583",
"text": "SAINT MARTIN DU VAR"
},
{
"id": "A10017265908",
"text": "BIOT"
},
{
"id": "A10000980576",
"text": "PEILLON"
},
{
"id": "A10024933344",
"text": "LES ARCS"
},
{
"id": "A10024933368",
"text": "LA TURBIE"
},
{
"id": "A10024933442",
"text": "SAINT JULIEN"
},
{
"id": "A10021971554",
"text": "SAINT JEANNET"
},
{
"id": "A10019717953",
"text": "PEILLE"
},
{
"id": "g",
"text": "REGIME GENERAL"
},
{
"id": "a",
"text": "REGIMES AUTRES"
},
{
"id": "a11003995450",
"text": "REGIME MSA"
},
{
"id": "a11013011612",
"text": "REGIME SNCF"
},
{
"id": "a11017891473",
"text": "REGIME GENERAL MONACO"
},
{
"id": "a11015961838",
"text": "REGIME EDF/GDF - TITULAIRE"
},
{
"id": "a11015961839",
"text": "REGIME MONACO"
},
{
"id": "a11025419517",
"text": "TRIBUNAL DE GRANDE INSTANCE DE NICE"
},
{
"id": "A10026769374",
"text": "LA ROQUETTE SUR VAR"
"id": "A10000979354",
"code": "ATIAM",
"text": "ATIAM",
"libelle": null
},
{
"id": "A10027856948",
"text": "BAR-SUR-LOUP"
"code": "BAR-SUR-LOUP",
"text": "BAR-SUR-LOUP",
"libelle": null
},
{
"id": "A10007179260",
"code": "BEAULIEU SUR MER",
"text": "BEAULIEU SUR MER",
"libelle": null
},
{
"id": "A10001481849",
"code": "BEAUSOLEIL",
"text": "BEAUSOLEIL",
"libelle": null
},
{
"id": "A10000980692",
"code": "BERRE LES ALPES",
"text": "BERRE LES ALPES",
"libelle": null
},
{
"id": "A10017265908",
"code": "BIOT",
"text": "BIOT",
"libelle": null
},
{
"id": "A10007751441",
"code": "BLAUSASC",
"text": "BLAUSASC",
"libelle": null
},
{
"id": "A10013128210",
"code": "BONSON",
"text": "BONSON",
"libelle": null
},
{
"id": "A10015115495",
"code": "BREIL SUR ROYA",
"text": "BREIL SUR ROYA",
"libelle": null
},
{
"id": "A10000980568",
"code": "CAGNES SUR MER",
"text": "CAGNES SUR MER",
"libelle": null
},
{
"id": "A10001427675",
"code": "CANNES",
"text": "CANNES",
"libelle": null
},
{
"id": "A10016990309",
"code": "CANNES LA BOCCA",
"text": "CANNES LA BOCCA",
"libelle": null
},
{
"id": "A10013128217",
"code": "CANTARON",
"text": "CANTARON",
"libelle": null
},
{
"id": "A10001715572",
"code": "CAP D AIL",
"text": "CAP D AIL",
"libelle": null
},
{
"id": "A10007751440",
"code": "CARROS",
"text": "CARROS",
"libelle": null
},
{
"id": "A10000980569",
"code": "CASTAGNIERS",
"text": "CASTAGNIERS",
"libelle": null
},
{
"id": "A10013447888",
"code": "COLOMARS",
"text": "COLOMARS",
"libelle": null
},
{
"id": "A10000980570",
"code": "CONTES",
"text": "CONTES",
"libelle": null
},
{
"id": "A10013123067",
"code": "DRAP",
"text": "DRAP",
"libelle": null
},
{
"id": "A10007751483",
"code": "EZE",
"text": "EZE",
"libelle": null
},
{
"id": "A10000980571",
"code": "FALICON",
"text": "FALICON",
"libelle": null
},
{
"id": "A10010601009",
"code": "FONDATION DE NICE",
"text": "FONDATION DE NICE",
"libelle": "PATRONAGE ST PIERRE ACTES"
},
{
"id": "A10001715627",
"code": "FOYER DE L'ENFANCE DES AM",
"text": "FOYER DE L'ENFANCE DES AM",
"libelle": null
},
{
"id": "A10007182961",
"code": "GATTIERES",
"text": "GATTIERES",
"libelle": null
},
{
"id": "A10000980572",
"code": "GILETTE",
"text": "GILETTE",
"libelle": null
},
{
"id": "A10015255908",
"code": "GRASSE",
"text": "GRASSE",
"libelle": null
},
{
"id": "A10000979373",
"code": "IES CLEMENT ADER",
"text": "IES CLEMENT ADER",
"libelle": null
},
{
"id": "A10000979375",
"code": "IESEDA LES CHANTERELLES",
"text": "IESEDA LES CHANTERELLES",
"libelle": null
},
{
"id": "A10001039676",
"code": "IME CORNICHE FLEURIE",
"text": "IME CORNICHE FLEURIE",
"libelle": null
},
{
"id": "A10000979376",
"code": "IME TERRASSES",
"text": "IME TERRASSES",
"libelle": null
},
{
"id": "A10007752822",
"code": "LA COLLE SUR LOUP",
"text": "LA COLLE SUR LOUP",
"libelle": null
},
{
"id": "A10012498607",
"code": "LA GAUDE",
"text": "LA GAUDE",
"libelle": null
},
{
"id": "A10026769374",
"code": "LA ROQUETTE SUR VAR",
"text": "LA ROQUETTE SUR VAR",
"libelle": null
},
{
"id": "A10007751913",
"code": "LA TOUR",
"text": "LA TOUR",
"libelle": null
},
{
"id": "A10007182676",
"code": "LA TRINITE",
"text": "LA TRINITE",
"libelle": null
},
{
"id": "A10008425613",
"code": "LA TRINITE ENFANTS PLACES",
"text": "LA TRINITE ENFANTS PLACES",
"libelle": null
},
{
"id": "A10024933368",
"code": "LA TURBIE",
"text": "LA TURBIE",
"libelle": null
},
{
"id": "A10013459160",
"code": "LE CANNET",
"text": "LE CANNET",
"libelle": null
},
{
"id": "A10024933344",
"code": "LES ARCS",
"text": "LES ARCS",
"libelle": null
},
{
"id": "A10014927854",
"code": "L ESCARENE",
"text": "L ESCARENE",
"libelle": null
},
{
"id": "A10004460232",
"code": "LEVENS",
"text": "LEVENS",
"libelle": null
},
{
"id": "A10008152785",
"code": "LUCERAM",
"text": "LUCERAM",
"libelle": null
},
{
"id": "A10014621894",
"code": "MALAUSSENE",
"text": "MALAUSSENE",
"libelle": null
},
{
"id": "A10015126217",
"code": "MANDELIEU",
"text": "MANDELIEU",
"libelle": null
},
{
"id": "A10000980575",
"code": "MENTON",
"text": "MENTON",
"libelle": null
},
{
"id": "A10001496896",
"code": "MONTJOYE",
"text": "MONTJOYE",
"libelle": null
},
{
"id": "A10014938988",
"code": "MOUGINS",
"text": "MOUGINS",
"libelle": null
},
{
"id": "A10019717953",
"code": "PEILLE",
"text": "PEILLE",
"libelle": null
},
{
"id": "A10000980576",
"code": "PEILLON",
"text": "PEILLON",
"libelle": null
},
{
"id": "A10001474792",
"code": "PEP 06 - CORNICHE",
"text": "PEP 06 - CORNICHE",
"libelle": null
},
{
"id": "A10001474782",
"code": "PEP 06 MADELEINE",
"text": "PEP 06 MADELEINE",
"libelle": null
},
{
"id": "A10010030250",
"code": "PUGET SUR ARGENS",
"text": "PUGET SUR ARGENS",
"libelle": null
},
{
"id": "a11015961838",
"code": "REGIME EDF/GDF - TITULAIRE",
"text": "REGIME EDF/GDF - TITULAIRE",
"libelle": null
},
{
"id": "g",
"code": "REGIME GENERAL",
"text": "REGIME GENERAL",
"libelle": null
},
{
"id": "a11017891473",
"code": "REGIME GENERAL MONACO",
"text": "REGIME GENERAL MONACO",
"libelle": null
},
{
"id": "a11015961839",
"code": "REGIME MONACO",
"text": "REGIME MONACO",
"libelle": null
},
{
"id": "a11003995450",
"code": "REGIME MSA",
"text": "REGIME MSA",
"libelle": null
},
{
"id": "a",
"code": "REGIMES AUTRES",
"text": "REGIMES AUTRES",
"libelle": null
},
{
"id": "a11013011612",
"code": "REGIME SNCF",
"text": "REGIME SNCF",
"libelle": null
},
{
"id": "A10000980577",
"code": "ROQUEBRUNE CAP MARTIN",
"text": "ROQUEBRUNE CAP MARTIN",
"libelle": null
},
{
"id": "A10014922597",
"code": "ROQUEFORT LES PINS",
"text": "ROQUEFORT LES PINS",
"libelle": null
},
{
"id": "A10000802910",
"code": "SAINT ANDRE DE LA ROCHE",
"text": "SAINT ANDRE DE LA ROCHE",
"libelle": null
},
{
"id": "A10008170056",
"code": "SAINT ANDRE LE MANOIR",
"text": "SAINT ANDRE LE MANOIR",
"libelle": null
},
{
"id": "A10016957436",
"code": "SAINT BLAISE",
"text": "SAINT BLAISE",
"libelle": null
},
{
"id": "A10000980674",
"code": "SAINT JEAN CAP FERRAT",
"text": "SAINT JEAN CAP FERRAT",
"libelle": null
},
{
"id": "A10021971554",
"code": "SAINT JEANNET",
"text": "SAINT JEANNET",
"libelle": null
},
{
"id": "A10024933442",
"code": "SAINT JULIEN",
"text": "SAINT JULIEN",
"libelle": null
},
{
"id": "A10007751693",
"code": "SAINT LAURENT DU VAR",
"text": "SAINT LAURENT DU VAR",
"libelle": null
},
{
"id": "A10015677583",
"code": "SAINT MARTIN DU VAR",
"text": "SAINT MARTIN DU VAR",
"libelle": null
},
{
"id": "A10007751879",
"code": "SAINT PAUL DE VENCE",
"text": "SAINT PAUL DE VENCE",
"libelle": null
},
{
"id": "A10013129048",
"code": "SOSPEL",
"text": "SOSPEL",
"libelle": null
},
{
"id": "A10015528233",
"code": "THEOULE SUR MER",
"text": "THEOULE SUR MER",
"libelle": null
},
{
"id": "A10000980573",
"code": "TOUET DE L ESCARENE",
"text": "TOUET DE L ESCARENE",
"libelle": null
},
{
"id": "A10029519260",
"text": "TOUET SUR VAR"
"code": "TOUET SUR VAR",
"text": "TOUET SUR VAR",
"libelle": null
},
{
"id": "A10013129309",
"code": "TOURETTES-SUR-LOUP",
"text": "TOURETTES-SUR-LOUP",
"libelle": null
},
{
"id": "A10001715581",
"code": "TOURRETTE LEVENS",
"text": "TOURRETTE LEVENS",
"libelle": null
},
{
"id": "a11025419517",
"code": "TRIBUNAL DE GRANDE INSTANCE DE NICE",
"text": "TRIBUNAL DE GRANDE INSTANCE DE NICE",
"libelle": null
},
{
"id": "A10000979370",
"code": "UDAF",
"text": "UDAF",
"libelle": null
},
{
"id": "A10007182941",
"code": "VALBONNE SOPHIA ANTIPOLIS",
"text": "VALBONNE SOPHIA ANTIPOLIS",
"libelle": null
},
{
"id": "A10000980584",
"code": "VALLAURIS",
"text": "VALLAURIS",
"libelle": null
},
{
"id": "A10001612084",
"code": "VENCE",
"text": "VENCE",
"libelle": null
},
{
"id": "A10001314895",
"code": "VILLE DE NICE",
"text": "VILLE DE NICE",
"libelle": null
},
{
"id": "A10000802907",
"code": "VILLEFRANCHE SUR MER",
"text": "VILLEFRANCHE SUR MER",
"libelle": null
},
{
"id": "A10007753594",
"code": "VILLENEUVE LOUBET",
"text": "VILLENEUVE LOUBET",
"libelle": null
}
]

View File

@ -1,18 +1,26 @@
[
{
"id": "PAIALI",
"text": "ALIMENTAIRE"
"code": "PAIALI",
"text": "ALIMENTAIRE",
"libelle": "ALIMENTAIRE"
},
{
"id": "PAIO",
"text": "AUTRE"
"code": "PAIO",
"text": "AUTRE",
"libelle": "AUTRE"
},
{
"id": "PAIMED",
"text": "MEDICAL"
"code": "PAIMED",
"text": "MEDICAL",
"libelle": "MEDICAL"
},
{
"id": "PAI2",
"text": "MEDICAL ET ALIMENTAIRE"
"code": "PAI2",
"text": "MEDICAL ET ALIMENTAIRE",
"libelle": "MEDICAL ET ALIMENTAIRE"
}
]

View File

@ -1,70 +1,104 @@
[
{
"id": "AU",
"text": "AUTRE"
"code": "AU",
"text": "AUTRE",
"libelle": "AUTRE"
},
{
"id": "BP",
"text": "BEAU PERE"
"code": "BP",
"text": "BEAU PERE",
"libelle": "BEAU PERE"
},
{
"id": "BM",
"text": "BELLE MERE"
"code": "BM",
"text": "BELLE MERE",
"libelle": "BELLE MERE"
},
{
"id": "CONSO",
"text": "CONSOMMATEUR"
"code": "CONSO",
"text": "CONSOMMATEUR",
"libelle": "CONSOMMATEUR"
},
{
"id": "EN",
"text": "ENFANT"
"code": "EN",
"text": "ENFANT",
"libelle": "ENFANT"
},
{
"id": "FS",
"text": "FRERES ET SOEURS"
"code": "FS",
"text": "FRERES ET SOEURS",
"libelle": "FRERES ET SOEURS"
},
{
"id": "GM",
"text": "GRAND MERE MATERNELLE"
},
{
"id": "GP",
"text": "GRAND PERE MATERNEL"
"code": "GM",
"text": "GRAND MERE MATERNELLE",
"libelle": "GRAND MERE MATERNELLE"
},
{
"id": "GMP",
"text": "GRAND-MERE PATERNELLE"
"code": "GMP",
"text": "GRAND-MERE PATERNELLE",
"libelle": "GRAND-MERE PATERNELLE"
},
{
"id": "GP",
"code": "GP",
"text": "GRAND PERE MATERNEL",
"libelle": "GRAND PERE MATERNEL"
},
{
"id": "GPP",
"text": "GRAND-PERE PATERNEL"
"code": "GPP",
"text": "GRAND-PERE PATERNEL",
"libelle": "GRAND-PERE PATERNEL"
},
{
"id": "MAIRIE",
"text": "MAIRIE"
"code": "MAIRIE",
"text": "MAIRIE",
"libelle": "MAIRIE"
},
{
"id": "MERE",
"text": "MERE"
"code": "MERE",
"text": "MERE",
"libelle": "MERE"
},
{
"id": "O",
"text": "ONCLE"
"code": "O",
"text": "ONCLE",
"libelle": "ONCLE"
},
{
"id": "OS",
"text": "ORGANISME SOCIAL"
"code": "OS",
"text": "ORGANISME SOCIAL",
"libelle": "ORGANISME SOCIAL"
},
{
"id": "PERE",
"text": "PERE"
"code": "PERE",
"text": "PERE",
"libelle": "PERE"
},
{
"id": "T",
"text": "TANTE"
"code": "T",
"text": "TANTE",
"libelle": "TANTE"
},
{
"id": "TUTEUR",
"text": "TUTEUR"
"code": "TUTEUR",
"text": "TUTEUR",
"libelle": "TUTEUR"
}
]

View File

@ -1,26 +1,38 @@
[
{
"id": "QF",
"text": "GRILLE DE QUOTIENT"
"code": "QF",
"text": "GRILLE DE QUOTIENT",
"libelle": "GRILLE DE QUOTIENT"
},
{
"id": "QCLSH",
"text": "QUOTIENT CENTRE AERE"
"code": "QCLSH",
"text": "QUOTIENT CENTRE AERE",
"libelle": "QUOTIENT CENTRE AERE"
},
{
"id": "QJEU",
"text": "QUOTIENT JEUNESSE"
"code": "QJEU",
"text": "QUOTIENT JEUNESSE",
"libelle": "QUOTIENT JEUNESSE"
},
{
"id": "QS",
"text": "QUOTIENT SCOLAIRE"
"code": "QS",
"text": "QUOTIENT SCOLAIRE",
"libelle": "QUOTIENT SCOLAIRE"
},
{
"id": "QSPORT",
"text": "QUOTIENT SPORT"
"code": "QSPORT",
"text": "QUOTIENT SPORT",
"libelle": "QUOTIENT SPORT"
},
{
"id": "MOY ECO",
"text": "REVENU MOYEN ( MENSUEL OU ANNUEL)"
"code": "MOY ECO",
"text": "REVENU MOYEN ( MENSUEL OU ANNUEL)",
"libelle": "REVENU MOYEN ( MENSUEL OU ANNUEL)"
}
]

View File

@ -1,34 +1,34 @@
[
{
"id": "AVL",
"code": "AVL",
"text": "Auxiliaire de Vie loisirs",
"label": "Auxiliaire de Vie loisirs",
"typeDesc": "NONE",
"choiceList": [],
"id": "AVL",
"text": "Auxiliaire de Vie loisirs"
"choiceList": []
},
{
"id": "AVS",
"code": "AVS",
"text": "Auxiliaire de Vie scolaire",
"label": "Auxiliaire de Vie scolaire ",
"typeDesc": "NONE",
"choiceList": [],
"id": "AVS",
"text": "Auxiliaire de Vie scolaire"
"choiceList": []
},
{
"id": "ETABSPEC",
"code": "ETABSPEC",
"text": "Etablissement sp\u00e9cialis\u00e9",
"label": "Etablissement sp\u00e9cialis\u00e9",
"typeDesc": "NOTE",
"choiceList": [],
"id": "ETABSPEC",
"text": "Etablissement sp\u00e9cialis\u00e9"
"choiceList": []
},
{
"id": "MDPH",
"code": "MDPH",
"text": "Notification MDPH",
"label": "Notification MDPH",
"typeDesc": "NONE",
"choiceList": [],
"id": "MDPH",
"text": "Notification MDPH"
"choiceList": []
}
]

View File

@ -1,38 +1,56 @@
[
{
"id": "C",
"text": "C\u00e9libataire"
"code": "C",
"text": "C\u00e9libataire",
"libelle": "C\u00e9libataire"
},
{
"id": "D",
"text": "Divorc\u00e9 (e)"
"code": "D",
"text": "Divorc\u00e9 (e)",
"libelle": "Divorc\u00e9 (e)"
},
{
"id": "CS",
"text": "EN COURS DE SEPARATION"
"code": "CS",
"text": "EN COURS DE SEPARATION",
"libelle": "EN COURS DE SEPARATION"
},
{
"id": "M",
"text": "Mari\u00e9 (e)"
"code": "M",
"text": "Mari\u00e9 (e)",
"libelle": "Mari\u00e9 (e)"
},
{
"id": "P",
"text": "Pacs\u00e9 (e)"
"code": "P",
"text": "Pacs\u00e9 (e)",
"libelle": "Pacs\u00e9 (e)"
},
{
"id": "S",
"text": "S\u00e9par\u00e9 (e)"
"code": "S",
"text": "S\u00e9par\u00e9 (e)",
"libelle": "S\u00e9par\u00e9 (e)"
},
{
"id": "UL",
"text": "UNION LIBRE"
"code": "UL",
"text": "UNION LIBRE",
"libelle": "UNION LIBRE"
},
{
"id": "V",
"text": "Veuf (ve)"
"code": "V",
"text": "Veuf (ve)",
"libelle": "Veuf (ve)"
},
{
"id": "VM",
"text": "Vivant maritalement"
"code": "VM",
"text": "Vivant maritalement",
"libelle": "Vivant maritalement"
}
]

File diff suppressed because it is too large Load Diff

View File

@ -1,82 +1,122 @@
[
{
"id": "BCG",
"text": "BCG"
"code": "BCG",
"text": "BCG",
"libelle": "BCG"
},
{
"id": "CIB",
"text": "CONTRE-INDICATION TEMPORAIRE AU BCG"
"code": "CIB",
"text": "CONTRE-INDICATION TEMPORAIRE AU BCG",
"libelle": "CONTRE-INDICATION TEMPORAIRE AU BCG"
},
{
"id": "MONO",
"text": "CONTROLE DU BCG (+)"
"code": "MONO",
"text": "CONTROLE DU BCG (+)",
"libelle": "CONTROLE DU BCG (+)"
},
{
"id": "MONON",
"text": "CONTROLE DU BCG (-)"
"code": "MONON",
"text": "CONTROLE DU BCG (-)",
"libelle": "CONTROLE DU BCG (-)"
},
{
"id": "DTC",
"text": "DIPHTERIE TETANOS COQUELUCHE"
"code": "DTC",
"text": "DIPHTERIE TETANOS COQUELUCHE",
"libelle": "DIPHTERIE TETANOS COQUELUCHE"
},
{
"id": "DTCP",
"text": "DIPHTERIE-TETANOS-COQUELUCHE-POLIO"
"code": "DTCP",
"text": "DIPHTERIE-TETANOS-COQUELUCHE-POLIO",
"libelle": "DIPHTERIE-TETANOS-COQUELUCHE-POLIO"
},
{
"id": "DTP",
"text": "DIPHTERIE-TETANOS-POLIO"
"code": "DTP",
"text": "DIPHTERIE-TETANOS-POLIO",
"libelle": "DIPHTERIE-TETANOS-POLIO"
},
{
"id": "HEP",
"text": "HEPATITE"
"code": "HEP",
"text": "HEPATITE",
"libelle": "HEPATITE"
},
{
"id": "HEPA B",
"text": "HEPATITE B"
"code": "HEPA B",
"text": "HEPATITE B",
"libelle": "HEPATITE B"
},
{
"id": "IN",
"text": "INFANRIX"
"code": "IN",
"text": "INFANRIX",
"libelle": "INFANRIX"
},
{
"id": "HIB",
"text": "MENINGITE"
"code": "HIB",
"text": "MENINGITE",
"libelle": "MENINGITE"
},
{
"id": "PENT",
"text": "PENTACOQ"
"code": "PENT",
"text": "PENTACOQ",
"libelle": "PENTACOQ"
},
{
"id": "PENTH",
"text": "PENT'HIBEST"
"code": "PENTH",
"text": "PENT'HIBEST",
"libelle": "PENT'HIBEST"
},
{
"id": "P",
"text": "POLIO"
"code": "P",
"text": "POLIO",
"libelle": "POLIO"
},
{
"id": "ROR",
"text": "ROUGEOLE-OREILLONS-RUBEOLE"
"code": "ROR",
"text": "ROUGEOLE-OREILLONS-RUBEOLE",
"libelle": "ROUGEOLE-OREILLONS-RUBEOLE"
},
{
"id": "ROUX",
"text": "ROUVAX"
"code": "ROUX",
"text": "ROUVAX",
"libelle": "ROUVAX"
},
{
"id": "TETANOS",
"text": "TETANOS"
"code": "TETANOS",
"text": "TETANOS",
"libelle": "TETANOS"
},
{
"id": "TPOLIO",
"text": "TETANOS POLIO"
"code": "TPOLIO",
"text": "TETANOS POLIO",
"libelle": "TETANOS POLIO"
},
{
"id": "TETR",
"text": "TETRACOQ"
"code": "TETR",
"text": "TETRACOQ",
"libelle": "TETRACOQ"
},
{
"id": "T.POLIO",
"text": "T.POLIO"
"code": "T.POLIO",
"text": "T.POLIO",
"libelle": "T.POLIO"
}
]

View File

@ -148,7 +148,7 @@ FAMILY_RESET_PAYLOAD = {
'vaccin',
],
)
def test_referentials(conn, ref):
def test_referentials(conn, referentials, ref):
url = conn + '/read-%s-list' % ref
resp = requests.get(url)
resp.raise_for_status()