Commit 6cffa40e899769a83f95b2c765accb0d87016024
1 parent
c08615f7
Exists in
master
and in
1 other branch
Fixture test common
Showing
1 changed file
with
377 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,377 @@ |
1 | +[ | |
2 | +{ | |
3 | + "model": "common.country", | |
4 | + "pk": 1, | |
5 | + "fields": { | |
6 | + "name": "France", | |
7 | + "desc": "", | |
8 | + "quota": null | |
9 | + } | |
10 | +}, | |
11 | +{ | |
12 | + "model": "common.detector", | |
13 | + "pk": 1, | |
14 | + "fields": { | |
15 | + "device": 1, | |
16 | + "telescope": 1, | |
17 | + "status": "", | |
18 | + "nb_photo_x": null, | |
19 | + "nb_photo_y": null, | |
20 | + "photo_size_x": null, | |
21 | + "photo_size_y": null, | |
22 | + "has_shutter": false, | |
23 | + "equivalent_foc_len": "", | |
24 | + "acq_start": null, | |
25 | + "acq_stop": null, | |
26 | + "check_temp": null, | |
27 | + "gain": null, | |
28 | + "readout_noise": null, | |
29 | + "readout_time": null, | |
30 | + "idcam_readout_mode": null | |
31 | + } | |
32 | +}, | |
33 | +{ | |
34 | + "model": "common.detector", | |
35 | + "pk": 2, | |
36 | + "fields": { | |
37 | + "device": 7, | |
38 | + "telescope": 1, | |
39 | + "status": "", | |
40 | + "nb_photo_x": null, | |
41 | + "nb_photo_y": null, | |
42 | + "photo_size_x": null, | |
43 | + "photo_size_y": null, | |
44 | + "has_shutter": false, | |
45 | + "equivalent_foc_len": "", | |
46 | + "acq_start": null, | |
47 | + "acq_stop": null, | |
48 | + "check_temp": null, | |
49 | + "gain": null, | |
50 | + "readout_noise": null, | |
51 | + "readout_time": null, | |
52 | + "idcam_readout_mode": null | |
53 | + } | |
54 | +}, | |
55 | +{ | |
56 | + "model": "common.device", | |
57 | + "pk": 1, | |
58 | + "fields": { | |
59 | + "name": "Cagire", | |
60 | + "desc": "", | |
61 | + "created": "2016-05-13T11:49:49.663Z", | |
62 | + "updated": "2016-05-13T11:49:49.664Z", | |
63 | + "is_online": false, | |
64 | + "status": "", | |
65 | + "maintenance_date": null | |
66 | + } | |
67 | +}, | |
68 | +{ | |
69 | + "model": "common.device", | |
70 | + "pk": 2, | |
71 | + "fields": { | |
72 | + "name": "First infrared filter", | |
73 | + "desc": "", | |
74 | + "created": "2016-05-13T11:49:56.579Z", | |
75 | + "updated": "2016-05-13T11:49:56.579Z", | |
76 | + "is_online": false, | |
77 | + "status": "", | |
78 | + "maintenance_date": null | |
79 | + } | |
80 | +}, | |
81 | +{ | |
82 | + "model": "common.device", | |
83 | + "pk": 3, | |
84 | + "fields": { | |
85 | + "name": "First visible filter", | |
86 | + "desc": "", | |
87 | + "created": "2016-05-13T11:50:02.012Z", | |
88 | + "updated": "2016-05-13T11:50:02.013Z", | |
89 | + "is_online": false, | |
90 | + "status": "", | |
91 | + "maintenance_date": null | |
92 | + } | |
93 | +}, | |
94 | +{ | |
95 | + "model": "common.device", | |
96 | + "pk": 4, | |
97 | + "fields": { | |
98 | + "name": "Second infrared filter", | |
99 | + "desc": "", | |
100 | + "created": "2016-05-13T11:50:07.592Z", | |
101 | + "updated": "2016-05-13T11:50:07.592Z", | |
102 | + "is_online": false, | |
103 | + "status": "", | |
104 | + "maintenance_date": null | |
105 | + } | |
106 | +}, | |
107 | +{ | |
108 | + "model": "common.device", | |
109 | + "pk": 5, | |
110 | + "fields": { | |
111 | + "name": "Second visible filter", | |
112 | + "desc": "", | |
113 | + "created": "2016-05-13T11:50:11.226Z", | |
114 | + "updated": "2016-05-13T11:50:11.226Z", | |
115 | + "is_online": false, | |
116 | + "status": "", | |
117 | + "maintenance_date": null | |
118 | + } | |
119 | +}, | |
120 | +{ | |
121 | + "model": "common.device", | |
122 | + "pk": 6, | |
123 | + "fields": { | |
124 | + "name": "Telescope", | |
125 | + "desc": "", | |
126 | + "created": "2016-05-13T11:50:14.326Z", | |
127 | + "updated": "2016-05-13T11:50:14.326Z", | |
128 | + "is_online": false, | |
129 | + "status": "", | |
130 | + "maintenance_date": null | |
131 | + } | |
132 | +}, | |
133 | +{ | |
134 | + "model": "common.device", | |
135 | + "pk": 7, | |
136 | + "fields": { | |
137 | + "name": "Visible camera", | |
138 | + "desc": "", | |
139 | + "created": "2016-05-13T11:50:17.644Z", | |
140 | + "updated": "2016-05-13T11:50:17.644Z", | |
141 | + "is_online": false, | |
142 | + "status": "", | |
143 | + "maintenance_date": null | |
144 | + } | |
145 | +}, | |
146 | +{ | |
147 | + "model": "common.device", | |
148 | + "pk": 8, | |
149 | + "fields": { | |
150 | + "name": "Cagire FW", | |
151 | + "desc": "", | |
152 | + "created": "2016-06-28T13:28:28.298Z", | |
153 | + "updated": "2016-06-28T13:28:28.298Z", | |
154 | + "is_online": false, | |
155 | + "status": "", | |
156 | + "maintenance_date": null | |
157 | + } | |
158 | +}, | |
159 | +{ | |
160 | + "model": "common.device", | |
161 | + "pk": 9, | |
162 | + "fields": { | |
163 | + "name": "Visible Camera FW", | |
164 | + "desc": "", | |
165 | + "created": "2016-06-28T13:28:46.887Z", | |
166 | + "updated": "2016-06-28T13:28:46.887Z", | |
167 | + "is_online": false, | |
168 | + "status": "", | |
169 | + "maintenance_date": null | |
170 | + } | |
171 | +}, | |
172 | +{ | |
173 | + "model": "common.filterwheel", | |
174 | + "pk": 1, | |
175 | + "fields": { | |
176 | + "device": 8, | |
177 | + "detector": 1 | |
178 | + } | |
179 | +}, | |
180 | +{ | |
181 | + "model": "common.filterwheel", | |
182 | + "pk": 2, | |
183 | + "fields": { | |
184 | + "device": 9, | |
185 | + "detector": 2 | |
186 | + } | |
187 | +}, | |
188 | +{ | |
189 | + "model": "common.filter", | |
190 | + "pk": 1, | |
191 | + "fields": { | |
192 | + "device": 2, | |
193 | + "filter_wheel": 1, | |
194 | + "category": "", | |
195 | + "transmission_curve_doc": "" | |
196 | + } | |
197 | +}, | |
198 | +{ | |
199 | + "model": "common.filter", | |
200 | + "pk": 2, | |
201 | + "fields": { | |
202 | + "device": 4, | |
203 | + "filter_wheel": 1, | |
204 | + "category": "", | |
205 | + "transmission_curve_doc": "" | |
206 | + } | |
207 | +}, | |
208 | +{ | |
209 | + "model": "common.filter", | |
210 | + "pk": 3, | |
211 | + "fields": { | |
212 | + "device": 3, | |
213 | + "filter_wheel": 2, | |
214 | + "category": "", | |
215 | + "transmission_curve_doc": "" | |
216 | + } | |
217 | +}, | |
218 | +{ | |
219 | + "model": "common.filter", | |
220 | + "pk": 4, | |
221 | + "fields": { | |
222 | + "device": 5, | |
223 | + "filter_wheel": 2, | |
224 | + "category": "", | |
225 | + "transmission_curve_doc": "" | |
226 | + } | |
227 | +}, | |
228 | +{ | |
229 | + "model": "common.scientificprogram", | |
230 | + "pk": 1, | |
231 | + "fields": { | |
232 | + "name": "GRB", | |
233 | + "desc": "", | |
234 | + "quota": 9999.0, | |
235 | + "priority": 0, | |
236 | + "pyros_users": [ | |
237 | + 1 | |
238 | + ] | |
239 | + } | |
240 | +}, | |
241 | +{ | |
242 | + "model": "common.strategyobs", | |
243 | + "pk": 1, | |
244 | + "fields": { | |
245 | + "name": "strat1", | |
246 | + "desc": "", | |
247 | + "xml_file": "strat1.xml" | |
248 | + } | |
249 | +}, | |
250 | +{ | |
251 | + "model": "common.strategyobs", | |
252 | + "pk": 2, | |
253 | + "fields": { | |
254 | + "name": "strat2", | |
255 | + "desc": "", | |
256 | + "xml_file": "strat2.xml" | |
257 | + } | |
258 | +}, | |
259 | +{ | |
260 | + "model": "common.telescope", | |
261 | + "pk": 1, | |
262 | + "fields": { | |
263 | + "device": 6, | |
264 | + "mount_type": "", | |
265 | + "diameter": null, | |
266 | + "status": "", | |
267 | + "latitude": null, | |
268 | + "longitude": null, | |
269 | + "sens": "", | |
270 | + "altitude": null, | |
271 | + "readout_time": null, | |
272 | + "slew_time": null, | |
273 | + "slew_dead": null, | |
274 | + "slew_rate_max": null, | |
275 | + "horizon_type": "", | |
276 | + "horizon_def": null, | |
277 | + "lim_dec_max": null, | |
278 | + "lim_dec_min": null, | |
279 | + "lim_ha_rise": null, | |
280 | + "lim_ha_set": null, | |
281 | + "address": "", | |
282 | + "night_elev_sun": null, | |
283 | + "mpc_code": "" | |
284 | + } | |
285 | +}, | |
286 | +{ | |
287 | + "model": "common.userlevel", | |
288 | + "pk": 1, | |
289 | + "fields": { | |
290 | + "name": "Developer", | |
291 | + "desc": "", | |
292 | + "priority": 0, | |
293 | + "quota": 9999.0 | |
294 | + } | |
295 | +}, | |
296 | +{ | |
297 | + "model": "auth.user", | |
298 | + "pk": 3, | |
299 | + "fields": { | |
300 | + "password": "pbkdf2_sha256$24000$okuSDTx60Vgu$awy4V1udsOOFh4PhGvMWbZLbgcHdbMHEvGsmlx08n5w=", | |
301 | + "last_login": "2016-04-04T10:05:28.863Z", | |
302 | + "is_superuser": true, | |
303 | + "username": "admin", | |
304 | + "first_name": "", | |
305 | + "last_name": "", | |
306 | + "email": "admin@example.com", | |
307 | + "is_staff": true, | |
308 | + "is_active": true, | |
309 | + "date_joined": "2016-04-04T10:04:19.313Z", | |
310 | + "groups": [], | |
311 | + "user_permissions": [] | |
312 | + } | |
313 | +}, | |
314 | +{ | |
315 | + "model": "auth.user", | |
316 | + "pk": 6, | |
317 | + "fields": { | |
318 | + "password": "pbkdf2_sha256$24000$INnv1PBisCaS$2YY/3Nws6EqMJAnaozZQaryERI0W5dTiQRUs9S0RBoc=", | |
319 | + "last_login": "2016-05-02T13:59:10.629Z", | |
320 | + "is_superuser": true, | |
321 | + "username": "pyros", | |
322 | + "first_name": "", | |
323 | + "last_name": "", | |
324 | + "email": "admin@example.com", | |
325 | + "is_staff": true, | |
326 | + "is_active": true, | |
327 | + "date_joined": "2016-04-04T10:46:29.552Z", | |
328 | + "groups": [], | |
329 | + "user_permissions": [] | |
330 | + } | |
331 | +}, | |
332 | +{ | |
333 | + "model": "auth.user", | |
334 | + "pk": 7, | |
335 | + "fields": { | |
336 | + "password": "pbkdf2_sha256$24000$NC9UO4LPGvDN$+pkRcZUbmV3HEtbrhBdDCSPnAsDVValrbwLt7cXqrJE=", | |
337 | + "last_login": "2016-06-03T09:27:53.245Z", | |
338 | + "is_superuser": true, | |
339 | + "username": "haribo", | |
340 | + "first_name": "", | |
341 | + "last_name": "", | |
342 | + "email": "", | |
343 | + "is_staff": true, | |
344 | + "is_active": true, | |
345 | + "date_joined": "2016-05-02T14:02:36.495Z", | |
346 | + "groups": [], | |
347 | + "user_permissions": [] | |
348 | + } | |
349 | +}, | |
350 | +{ | |
351 | + "model": "common.pyrosuser", | |
352 | + "pk": 1, | |
353 | + "fields": { | |
354 | + "user": 7, | |
355 | + "country": 1, | |
356 | + "user_level": 1, | |
357 | + "desc": "", | |
358 | + "created": "2016-06-03T09:29:15.450Z", | |
359 | + "updated": "2016-06-03T09:29:15.450Z", | |
360 | + "tel": "", | |
361 | + "address": "", | |
362 | + "laboratory": "", | |
363 | + "last_connect": null, | |
364 | + "cur_connect": null, | |
365 | + "putvalid_beg": null, | |
366 | + "putvalid_end": null, | |
367 | + "acqvalid_beg": "", | |
368 | + "acqvalid_end": "", | |
369 | + "quota": 9999.0, | |
370 | + "quota_rea": 9999.0, | |
371 | + "u_priority": null, | |
372 | + "p_priority": null, | |
373 | + "dir_level": null, | |
374 | + "can_del_void_req": false | |
375 | + } | |
376 | +} | |
377 | +] | ... | ... |