Blame view

src/misc/fixtures/tests/common_test.json 6.22 KB
6cffa40e   haribo   Fixture test common
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
{
    "model": "common.country",
    "pk": 1,
    "fields": {
        "name": "France",
        "desc": "",
        "quota": null
    }
},
{
    "model": "common.detector",
    "pk": 1,
    "fields": {
6cffa40e   haribo   Fixture test common
15
16
17
18
19
20
21
22
23
24
25
26
27
28
        "telescope": 1,
        "status": "",
        "nb_photo_x": null,
        "nb_photo_y": null,
        "photo_size_x": null,
        "photo_size_y": null,
        "has_shutter": false,
        "equivalent_foc_len": "",
        "acq_start": null,
        "acq_stop": null,
        "check_temp": null,
        "gain": null,
        "readout_noise": null,
        "readout_time": null,
abfb02e2   Jeremy   Device Model is n...
29
30
31
        "idcam_readout_mode": null,
        "name": "Cagire",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
32
33
        "created": "2016-05-13 11:49:49.663",
        "updated": "2016-05-13 11:49:49.664",
abfb02e2   Jeremy   Device Model is n...
34
35
        "is_online": false,
        "maintenance_date": null
6cffa40e   haribo   Fixture test common
36
37
38
39
40
41
    }
},
{
    "model": "common.detector",
    "pk": 2,
    "fields": {
6cffa40e   haribo   Fixture test common
42
        "telescope": 1,
6cffa40e   haribo   Fixture test common
43
44
45
46
47
48
49
50
51
52
53
54
        "nb_photo_x": null,
        "nb_photo_y": null,
        "photo_size_x": null,
        "photo_size_y": null,
        "has_shutter": false,
        "equivalent_foc_len": "",
        "acq_start": null,
        "acq_stop": null,
        "check_temp": null,
        "gain": null,
        "readout_noise": null,
        "readout_time": null,
abfb02e2   Jeremy   Device Model is n...
55
        "idcam_readout_mode": null,
6cffa40e   haribo   Fixture test common
56
57
        "name": "Visible camera",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
58
59
        "created": "2016-05-13 11:50:17.644",
        "updated": "2016-05-13 11:50:17.644",
6cffa40e   haribo   Fixture test common
60
61
62
63
64
65
        "is_online": false,
        "status": "",
        "maintenance_date": null
    }
},
{
abfb02e2   Jeremy   Device Model is n...
66
67
    "model": "common.filterwheel",
    "pk": 1,
6cffa40e   haribo   Fixture test common
68
69
70
    "fields": {
        "name": "Cagire FW",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
71
72
        "created": "2016-06-28 13:28:28.298",
        "updated": "2016-06-28 13:28:28.298",
6cffa40e   haribo   Fixture test common
73
74
        "is_online": false,
        "status": "",
abfb02e2   Jeremy   Device Model is n...
75
76
        "maintenance_date": null,
        "detector": 1
6cffa40e   haribo   Fixture test common
77
78
79
    }
},
{
abfb02e2   Jeremy   Device Model is n...
80
81
    "model": "common.filterwheel",
    "pk": 2,
6cffa40e   haribo   Fixture test common
82
    "fields": {
abfb02e2   Jeremy   Device Model is n...
83
        "detector": 2,
6cffa40e   haribo   Fixture test common
84
85
        "name": "Visible Camera FW",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
86
87
        "created": "2016-06-28 13:28:46.887",
        "updated": "2016-06-28 13:28:46.887",
6cffa40e   haribo   Fixture test common
88
89
90
91
92
93
        "is_online": false,
        "status": "",
        "maintenance_date": null
    }
},
{
6cffa40e   haribo   Fixture test common
94
95
96
    "model": "common.filter",
    "pk": 1,
    "fields": {
6cffa40e   haribo   Fixture test common
97
98
        "filter_wheel": 1,
        "category": "",
abfb02e2   Jeremy   Device Model is n...
99
100
101
        "transmission_curve_doc": "",
        "name": "First infrared filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
102
103
        "created": "2016-05-13 11:49:56.579",
        "updated": "2016-05-13 11:49:56.579",
abfb02e2   Jeremy   Device Model is n...
104
105
106
        "is_online": false,
        "status": "",
        "maintenance_date": null
6cffa40e   haribo   Fixture test common
107
108
109
110
111
112
    }
},
{
    "model": "common.filter",
    "pk": 2,
    "fields": {
6cffa40e   haribo   Fixture test common
113
114
        "filter_wheel": 1,
        "category": "",
abfb02e2   Jeremy   Device Model is n...
115
116
117
        "transmission_curve_doc": "",
        "name": "Second infrared filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
118
119
        "created": "2016-05-13 11:50:07.592",
        "updated": "2016-05-13 11:50:07.592",
abfb02e2   Jeremy   Device Model is n...
120
121
122
        "is_online": false,
        "status": "",
        "maintenance_date": null
6cffa40e   haribo   Fixture test common
123
124
125
126
127
128
    }
},
{
    "model": "common.filter",
    "pk": 3,
    "fields": {
6cffa40e   haribo   Fixture test common
129
130
        "filter_wheel": 2,
        "category": "",
abfb02e2   Jeremy   Device Model is n...
131
132
133
        "transmission_curve_doc": "",
        "name": "First visible filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
134
135
        "created": "2016-05-13 11:50:02.012",
        "updated": "2016-05-13 11:50:02.013",
abfb02e2   Jeremy   Device Model is n...
136
137
138
        "is_online": false,
        "status": "",
        "maintenance_date": null
6cffa40e   haribo   Fixture test common
139
140
141
142
143
144
    }
},
{
    "model": "common.filter",
    "pk": 4,
    "fields": {
6cffa40e   haribo   Fixture test common
145
146
        "filter_wheel": 2,
        "category": "",
abfb02e2   Jeremy   Device Model is n...
147
148
149
        "transmission_curve_doc": "",
        "name": "Second visible filter",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
150
151
        "created": "2016-05-13 11:50:11.226",
        "updated": "2016-05-13 11:50:11.226",
abfb02e2   Jeremy   Device Model is n...
152
153
154
        "is_online": false,
        "status": "",
        "maintenance_date": null
6cffa40e   haribo   Fixture test common
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
    }
},
{
    "model": "common.scientificprogram",
    "pk": 1,
    "fields": {
        "name": "GRB",
        "desc": "",
        "quota": 9999.0,
        "priority": 0,
        "pyros_users": [
            1
        ]
    }
},
{
    "model": "common.strategyobs",
    "pk": 1,
    "fields": {
        "name": "strat1",
        "desc": "",
        "xml_file": "strat1.xml"
    }
},
{
    "model": "common.strategyobs",
    "pk": 2,
    "fields": {
        "name": "strat2",
        "desc": "",
        "xml_file": "strat2.xml"
    }
},
{
    "model": "common.telescope",
    "pk": 1,
    "fields": {
6cffa40e   haribo   Fixture test common
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
        "mount_type": "",
        "diameter": null,
        "status": "",
        "latitude": null,
        "longitude": null,
        "sens": "",
        "altitude": null,
        "readout_time": null,
        "slew_time": null,
        "slew_dead": null,
        "slew_rate_max": null,
        "horizon_type": "",
        "horizon_def": null,
        "lim_dec_max": null,
        "lim_dec_min": null,
        "lim_ha_rise": null,
        "lim_ha_set": null,
        "address": "",
        "night_elev_sun": null,
abfb02e2   Jeremy   Device Model is n...
211
212
213
        "mpc_code": "",
        "name": "Telescope",
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
214
215
        "created": "2016-05-13 11:50:14.326",
        "updated": "2016-05-13 11:50:14.326",
abfb02e2   Jeremy   Device Model is n...
216
217
        "is_online": false,
        "maintenance_date": null
6cffa40e   haribo   Fixture test common
218
219
220
221
222
223
224
225
226
227
228
229
230
    }
},
{
    "model": "common.userlevel",
    "pk": 1,
    "fields": {
        "name": "Developer",
        "desc": "",
        "priority": 0,
        "quota": 9999.0
    }
},
{
53787d30   Jeremy   Alert now inherit...
231
232
    "model": "common.pyrosuser",
    "pk": 1,
6cffa40e   haribo   Fixture test common
233
234
    "fields": {
        "password": "pbkdf2_sha256$24000$NC9UO4LPGvDN$+pkRcZUbmV3HEtbrhBdDCSPnAsDVValrbwLt7cXqrJE=",
9ff21b88   Etienne Pallier   bugfix datetime (...
235
        "last_login": "2016-06-03 09:27:53.245",
6cffa40e   haribo   Fixture test common
236
237
238
239
240
241
242
        "is_superuser": true,
        "username": "haribo",
        "first_name": "",
        "last_name": "",
        "email": "",
        "is_staff": true,
        "is_active": true,
9ff21b88   Etienne Pallier   bugfix datetime (...
243
        "date_joined": "2016-05-02 14:02:36.495",
6cffa40e   haribo   Fixture test common
244
        "groups": [],
53787d30   Jeremy   Alert now inherit...
245
        "user_permissions": [],
6cffa40e   haribo   Fixture test common
246
247
248
        "country": 1,
        "user_level": 1,
        "desc": "",
9ff21b88   Etienne Pallier   bugfix datetime (...
249
250
        "created": "2016-06-03 09:29:15.450",
        "updated": "2016-06-03 09:29:15.450",
6cffa40e   haribo   Fixture test common
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
        "tel": "",
        "address": "",
        "laboratory": "",
        "last_connect": null,
        "cur_connect": null,
        "putvalid_beg": null,
        "putvalid_end": null,
        "acqvalid_beg": "",
        "acqvalid_end": "",
        "quota": 9999.0,
        "quota_rea": 9999.0,
        "u_priority": null,
        "p_priority": null,
        "dir_level": null,
        "can_del_void_req": false
    }
}
]