Project

General

Profile

« Previous | Next » 

Revision 0aa652ff

Added by Mikaël Ates over 11 years ago

fixtures: fix various things to make automated validation successes from fixtures.

View differences:

calebasse/fixtures/agenda.json
1 1
[
2 2
  {
3
    "pk": 4, 
4
    "model": "agenda.eventtype", 
3
    "pk": 4,
4
    "model": "agenda.eventtype",
5 5
    "fields": {
6 6
      "label": "R\u00e9union \u00e0 l'ext\u00e9rieur"
7 7
    }
8
  }, 
8
  },
9 9
  {
10
    "pk": 5, 
11
    "model": "agenda.eventtype", 
10
    "pk": 5,
11
    "model": "agenda.eventtype",
12 12
    "fields": {
13 13
      "label": "En formation"
14 14
    }
15
  }, 
15
  },
16 16
  {
17
    "pk": 6, 
18
    "model": "agenda.eventtype", 
17
    "pk": 6,
18
    "model": "agenda.eventtype",
19 19
    "fields": {
20 20
      "label": "Donne une formation"
21 21
    }
22
  }, 
22
  },
23 23
  {
24
    "pk": 7, 
25
    "model": "agenda.eventtype", 
24
    "pk": 7,
25
    "model": "agenda.eventtype",
26 26
    "fields": {
27 27
      "label": "Equipe pluridisciplinaire MLA"
28 28
    }
29
  }, 
29
  },
30 30
  {
31
    "pk": 8, 
32
    "model": "agenda.eventtype", 
31
    "pk": 8,
32
    "model": "agenda.eventtype",
33 33
    "fields": {
34 34
      "label": "Supervision"
35 35
    }
36
  }, 
36
  },
37 37
  {
38
    "pk": 9, 
39
    "model": "agenda.eventtype", 
38
    "pk": 9,
39
    "model": "agenda.eventtype",
40 40
    "fields": {
41 41
      "label": "R\u00e9union de service"
42 42
    }
43
  }, 
43
  },
44 44
  {
45
    "pk": 10, 
46
    "model": "agenda.eventtype", 
45
    "pk": 10,
46
    "model": "agenda.eventtype",
47 47
    "fields": {
48 48
      "label": "R\u00e9union de direction"
49 49
    }
50
  }, 
50
  },
51 51
  {
52
    "pk": 11, 
53
    "model": "agenda.eventtype", 
52
    "pk": 11,
53
    "model": "agenda.eventtype",
54 54
    "fields": {
55 55
      "label": "R\u00e9union administratifs"
56 56
    }
57
  }, 
57
  },
58 58
  {
59
    "pk": 12, 
60
    "model": "agenda.eventtype", 
59
    "pk": 12,
60
    "model": "agenda.eventtype",
61 61
    "fields": {
62 62
      "label": "R\u00e9union agents de service"
63 63
    }
64
  }, 
64
  },
65 65
  {
66
    "pk": 13, 
67
    "model": "agenda.eventtype", 
66
    "pk": 13,
67
    "model": "agenda.eventtype",
68 68
    "fields": {
69 69
      "label": "Concertation direction"
70 70
    }
71
  }, 
71
  },
72 72
  {
73
    "pk": 14, 
74
    "model": "agenda.eventtype", 
73
    "pk": 14,
74
    "model": "agenda.eventtype",
75 75
    "fields": {
76 76
      "label": "P\u00e9rinatalit\u00e9"
77 77
    }
78
  }, 
78
  },
79 79
  {
80
    "pk": 15, 
81
    "model": "agenda.eventtype", 
80
    "pk": 15,
81
    "model": "agenda.eventtype",
82 82
    "fields": {
83 83
      "label": "R\u00e9union des parents"
84 84
    }
85
  }, 
85
  },
86 86
  {
87
    "pk": 16, 
88
    "model": "agenda.eventtype", 
87
    "pk": 16,
88
    "model": "agenda.eventtype",
89 89
    "fields": {
90 90
      "label": "Temps de trajet"
91 91
    }
92
  }, 
92
  },
93 93
  {
94
    "pk": 3, 
95
    "model": "agenda.event", 
94
    "pk": 3,
95
    "model": "agenda.event",
96 96
    "fields": {
97
      "event_type": 4, 
98
      "title": "Entr'ouvert", 
99
      "description": "Bla bla bla", 
97
      "event_type": 4,
98
      "title": "Entr'ouvert",
99
      "description": "Bla bla bla",
100 100
      "participants": [
101
        5, 
101
        5,
102 102
        6
103
      ], 
103
      ],
104 104
      "services": [
105
        1, 
105
        1,
106 106
        2
107
      ], 
107
      ],
108 108
      "room": 2
109 109
    }
110
  }, 
110
  },
111 111
  {
112
    "pk": 2, 
113
    "model": "agenda.event", 
112
    "pk": 2,
113
    "model": "agenda.event",
114 114
    "fields": {
115
      "event_type": 1, 
116
      "title": "Jack Itchan", 
117
      "description": "blabla bla bla", 
115
      "event_type": 1,
116
      "title": "Jack Itchan",
117
      "description": "blabla bla bla",
118 118
      "participants": [
119 119
        5
120
      ], 
120
      ],
121 121
      "services": [
122
        2
123
      ], 
122
        1
123
      ],
124 124
      "room": 1
125 125
    }
126
  }, 
126
  },
127 127
  {
128
    "pk": 1, 
129
    "model": "agenda.event", 
128
    "pk": 1,
129
    "model": "agenda.event",
130 130
    "fields": {
131
      "event_type": 1, 
132
      "title": "John Doe", 
133
      "description": "blabla", 
131
      "event_type": 1,
132
      "title": "John Doe",
133
      "description": "blabla",
134 134
      "participants": [
135 135
        5
136
      ], 
136
      ],
137 137
      "services": [
138 138
        1
139
      ], 
139
      ],
140 140
      "room": 2
141 141
    }
142
  }, 
142
  },
143 143
  {
144
    "pk": 1, 
145
    "model": "agenda.occurrence", 
144
    "pk": 1,
145
    "model": "agenda.occurrence",
146 146
    "fields": {
147
      "notes": [], 
148
      "start_time": "2012-10-30T10:00:00", 
149
      "end_time": "2012-10-30T10:45:00", 
147
      "notes": [],
148
      "start_time": "2012-10-30T10:00:00",
149
      "end_time": "2012-10-30T10:45:00",
150 150
      "event": 1
151 151
    }
152
  }, 
152
  },
153 153
  {
154
    "pk": 2, 
155
    "model": "agenda.occurrence", 
154
    "pk": 2,
155
    "model": "agenda.occurrence",
156 156
    "fields": {
157
      "notes": [], 
158
      "start_time": "2012-10-30T10:45:00", 
159
      "end_time": "2012-10-30T11:30:00", 
157
      "notes": [],
158
      "start_time": "2012-10-30T10:45:00",
159
      "end_time": "2012-10-30T11:30:00",
160 160
      "event": 2
161 161
    }
162
  }, 
162
  },
163 163
  {
164
    "pk": 3, 
165
    "model": "agenda.occurrence", 
164
    "pk": 3,
165
    "model": "agenda.occurrence",
166 166
    "fields": {
167
      "notes": [], 
168
      "start_time": "2012-10-30T11:30:00", 
169
      "end_time": "2012-10-30T12:00:00", 
167
      "notes": [],
168
      "start_time": "2012-10-30T11:30:00",
169
      "end_time": "2012-10-30T12:00:00",
170 170
      "event": 3
171 171
    }
172 172
  }

Also available in: Unified diff