toulouse-maelis: [functests] update referentials (#77634)
This commit is contained in:
parent
a3168ae8ad
commit
ad7ac9e0e7
|
@ -263,6 +263,9 @@ def pytest_addoption(parser):
|
|||
parser.addoption(
|
||||
'--lastname', help='override lastname to create a new "update" family', default='Test_Simpson'
|
||||
)
|
||||
parser.addoption(
|
||||
'--quick', action='store_true', help='do not reload referentials to speed-up tests', default=False
|
||||
)
|
||||
|
||||
|
||||
def unlink(conn, name_id):
|
||||
|
@ -403,7 +406,10 @@ def conn(request):
|
|||
|
||||
|
||||
@pytest.fixture(scope='session')
|
||||
def referentials(conn):
|
||||
def referentials(request, conn):
|
||||
quick = request.config.getoption('--quick')
|
||||
if quick:
|
||||
return
|
||||
url = urlparse.urlparse(conn)
|
||||
slug = url.path.split('/')[2]
|
||||
cmd = (
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
[
|
||||
{
|
||||
"id": "87",
|
||||
"code": "87",
|
||||
"rang": "PERSON",
|
||||
"text": "Acte de d\u00e9c\u00e8s",
|
||||
"libelle": "Acte de d\u00e9c\u00e8s"
|
||||
},
|
||||
{
|
||||
"id": "43",
|
||||
"code": "43",
|
||||
|
|
|
@ -13,17 +13,8 @@
|
|||
"text": "2023",
|
||||
"schoolYear": 2023,
|
||||
"dateEndYearSchool": "2024-07-07T00:00:00+02:00",
|
||||
"dateStartYearSchool": "2023-09-01T00:00:00+02:00",
|
||||
"dateStartYearSchool": "2023-09-04T00:00:00+02:00",
|
||||
"dateEndSubscribeSchool": "2023-09-01T00:00:00+02:00",
|
||||
"dateStartSubscribeSchool": "2022-09-01T00:00:00+02:00"
|
||||
},
|
||||
{
|
||||
"id": 2024,
|
||||
"text": "2024",
|
||||
"schoolYear": 2024,
|
||||
"dateEndYearSchool": "2024-07-04T00:00:00+02:00",
|
||||
"dateStartYearSchool": "2023-09-04T00:00:00+02:00",
|
||||
"dateEndSubscribeSchool": null,
|
||||
"dateStartSubscribeSchool": null
|
||||
}
|
||||
]
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
{
|
||||
"id": "30",
|
||||
"code": "30",
|
||||
"text": "B.C.G.",
|
||||
"libelle": "B.C.G."
|
||||
"text": "BCG",
|
||||
"libelle": "BCG"
|
||||
},
|
||||
{
|
||||
"id": "56",
|
||||
|
@ -74,8 +74,8 @@
|
|||
{
|
||||
"id": "8",
|
||||
"code": "8",
|
||||
"text": "DT POLIO",
|
||||
"libelle": "DT POLIO"
|
||||
"text": "DTPOLIO",
|
||||
"libelle": "DTPOLIO"
|
||||
},
|
||||
{
|
||||
"id": "45",
|
||||
|
@ -128,8 +128,8 @@
|
|||
{
|
||||
"id": "29",
|
||||
"code": "29",
|
||||
"text": "HEPATITE B",
|
||||
"libelle": "HEPATITE B"
|
||||
"text": "HEPATITEB",
|
||||
"libelle": "HEPATITEB"
|
||||
},
|
||||
{
|
||||
"id": "146",
|
||||
|
@ -149,6 +149,12 @@
|
|||
"text": "HIB",
|
||||
"libelle": "HIB"
|
||||
},
|
||||
{
|
||||
"id": "152",
|
||||
"code": "152",
|
||||
"text": "IIP",
|
||||
"libelle": "IIP"
|
||||
},
|
||||
{
|
||||
"id": "24",
|
||||
"code": "24",
|
||||
|
@ -221,6 +227,12 @@
|
|||
"text": "MENINGITEC",
|
||||
"libelle": "MENINGITEC"
|
||||
},
|
||||
{
|
||||
"id": "151",
|
||||
"code": "151",
|
||||
"text": "MENINGOCOQUE",
|
||||
"libelle": "MENINGOCOQUE"
|
||||
},
|
||||
{
|
||||
"id": "123",
|
||||
"code": "123",
|
||||
|
@ -287,6 +299,12 @@
|
|||
"text": "PENTAVAC",
|
||||
"libelle": "PENTAVAC"
|
||||
},
|
||||
{
|
||||
"id": "150",
|
||||
"code": "150",
|
||||
"text": "POLIO",
|
||||
"libelle": "POLIO"
|
||||
},
|
||||
{
|
||||
"id": "2",
|
||||
"code": "2",
|
||||
|
@ -320,8 +338,8 @@
|
|||
{
|
||||
"id": "28",
|
||||
"code": "28",
|
||||
"text": "R O R",
|
||||
"libelle": "R O R"
|
||||
"text": "ROR",
|
||||
"libelle": "ROR"
|
||||
},
|
||||
{
|
||||
"id": "127",
|
||||
|
@ -386,8 +404,8 @@
|
|||
{
|
||||
"id": "12",
|
||||
"code": "12",
|
||||
"text": "TETRA COQ",
|
||||
"libelle": "TETRA COQ"
|
||||
"text": "TETRACOQ",
|
||||
"libelle": "TETRACOQ"
|
||||
},
|
||||
{
|
||||
"id": "46",
|
||||
|
|
Loading…
Reference in New Issue