Projet

Général

Profil

0004-toulouse-maelis-referential-was-updated-to-squash.patch

Nicolas Roche, 15 décembre 2022 20:29

Télécharger (4,86 ko)

Voir les différences:

Subject: [PATCH 4/4] toulouse-maelis: referential was updated (to squash)

 functests/toulouse_maelis/conftest.py                     | 4 ++--
 functests/toulouse_maelis/data/test_create_family.json    | 2 +-
 functests/toulouse_maelis/data/test_create_rl2.json       | 2 +-
 .../toulouse_maelis/data/test_read_quality_list.json      | 8 ++++----
 functests/toulouse_maelis/data/test_update_family.json    | 4 ++--
 5 files changed, 10 insertions(+), 10 deletions(-)
functests/toulouse_maelis/conftest.py
15 15
FAMILY_PAYLOAD = {
16 16
    'category': 'BI',
17 17
    'situation': 'MARI',
18 18
    'rl1': {
19 19
        'civility': 'MME',
20 20
        'firstname': 'Marge',
21 21
        'lastname': 'Simpson',
22 22
        'maidenName': 'Bouvier',
23
        'quality': '2',
23
        'quality': 'MERE',
24 24
        'birth': {'dateBirth': '1950-10-01'},
25 25
        'adresse': {'street1': 'Evergreen Terrace', 'town': 'Springfield', 'zipcode': '62701'},
26 26
    },
27 27
    'rl2': {
28 28
        'civility': 'MR',
29 29
        'firstname': 'Homer',
30 30
        'lastname': 'Simpson',
31
        'quality': '1',
31
        'quality': 'PERE',
32 32
        'birth': {'dateBirth': '1956-05-12'},
33 33
        'adresse': {
34 34
            'num': '742',
35 35
            'numComp': None,
36 36
            'street1': 'Evergreen Terrace',
37 37
            'street2': None,
38 38
            'town': 'Springfield',
39 39
            'zipcode': '90701',
functests/toulouse_maelis/data/test_create_family.json
6 6
  "nbChild": null,
7 7
  "nbTotalChild": null,
8 8
  "nbAES": null,
9 9
  "RL1": {
10 10
    "num": "N/A",
11 11
    "firstname": "MARGE",
12 12
    "lastname": "N/A",
13 13
    "maidenName": "BOUVIER",
14
    "quality": "2",
14
    "quality": "MERE",
15 15
    "civility": "MME",
16 16
    "birth": {
17 17
      "dateBirth": "1950-10-01T00:00:00+01:00",
18 18
      "place": null,
19 19
      "communeCode": null,
20 20
      "countryCode": null
21 21
    },
22 22
    "adresse": {
functests/toulouse_maelis/data/test_create_rl2.json
1 1
{
2 2
  "num": "N/A",
3 3
  "firstname": "HOMER",
4 4
  "lastname": "N/A",
5 5
  "maidenName": null,
6
  "quality": "1",
6
  "quality": "PERE",
7 7
  "civility": "MR",
8 8
  "birth": {
9 9
    "dateBirth": "1956-05-12T00:00:00+01:00",
10 10
    "place": null,
11 11
    "communeCode": null,
12 12
    "countryCode": null
13 13
  },
14 14
  "adresse": {
functests/toulouse_maelis/data/test_read_quality_list.json
13 13
  },
14 14
  {
15 15
    "id": "13",
16 16
    "code": "13",
17 17
    "text": "Famille",
18 18
    "libelle": "Famille"
19 19
  },
20 20
  {
21
    "id": "2",
22
    "code": "2",
21
    "id": "MERE",
22
    "code": "MERE",
23 23
    "text": "M\u00e8re",
24 24
    "libelle": "M\u00e8re"
25 25
  },
26 26
  {
27
    "id": "1",
28
    "code": "1",
27
    "id": "PERE",
28
    "code": "PERE",
29 29
    "text": "P\u00e8re",
30 30
    "libelle": "P\u00e8re"
31 31
  },
32 32
  {
33 33
    "id": "10",
34 34
    "code": "10",
35 35
    "text": "Tuteur",
36 36
    "libelle": "Tuteur"
functests/toulouse_maelis/data/test_update_family.json
6 6
  "nbChild": null,
7 7
  "nbTotalChild": null,
8 8
  "nbAES": null,
9 9
  "RL1": {
10 10
    "num": "N/A",
11 11
    "firstname": "MARGE",
12 12
    "lastname": "N/A",
13 13
    "maidenName": "BOUVIER",
14
    "quality": "2",
14
    "quality": "MERE",
15 15
    "civility": "MME",
16 16
    "birth": {
17 17
      "dateBirth": "1950-10-01T00:00:00+01:00",
18 18
      "place": null,
19 19
      "communeCode": null,
20 20
      "countryCode": null
21 21
    },
22 22
    "adresse": {
......
44 44
    "civility_text": "MADAME",
45 45
    "quality_text": "M\u00e8re"
46 46
  },
47 47
  "RL2": {
48 48
    "num": "N/A",
49 49
    "firstname": "HOMER",
50 50
    "lastname": "N/A",
51 51
    "maidenName": null,
52
    "quality": "1",
52
    "quality": "PERE",
53 53
    "civility": "MR",
54 54
    "birth": {
55 55
      "dateBirth": "1956-05-12T00:00:00+01:00",
56 56
      "place": null,
57 57
      "communeCode": null,
58 58
      "countryCode": null
59 59
    },
60 60
    "adresse": {
61
-