Blame view

src/misc/fixtures/tests/common_test.json 6.25 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
32
33
34
35
        "idcam_readout_mode": null,
        "name": "Cagire",
        "desc": "",
        "created": "2016-05-13T11:49:49.663Z",
        "updated": "2016-05-13T11:49:49.664Z",
        "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
58
59
60
61
62
63
64
65
        "name": "Visible camera",
        "desc": "",
        "created": "2016-05-13T11:50:17.644Z",
        "updated": "2016-05-13T11:50:17.644Z",
        "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
71
72
73
74
    "fields": {
        "name": "Cagire FW",
        "desc": "",
        "created": "2016-06-28T13:28:28.298Z",
        "updated": "2016-06-28T13:28:28.298Z",
        "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
86
87
88
89
90
91
92
93
        "name": "Visible Camera FW",
        "desc": "",
        "created": "2016-06-28T13:28:46.887Z",
        "updated": "2016-06-28T13:28:46.887Z",
        "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
102
103
104
105
106
        "transmission_curve_doc": "",
        "name": "First infrared filter",
        "desc": "",
        "created": "2016-05-13T11:49:56.579Z",
        "updated": "2016-05-13T11:49:56.579Z",
        "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
118
119
120
121
122
        "transmission_curve_doc": "",
        "name": "Second infrared filter",
        "desc": "",
        "created": "2016-05-13T11:50:07.592Z",
        "updated": "2016-05-13T11:50:07.592Z",
        "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
134
135
136
137
138
        "transmission_curve_doc": "",
        "name": "First visible filter",
        "desc": "",
        "created": "2016-05-13T11:50:02.012Z",
        "updated": "2016-05-13T11:50:02.013Z",
        "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
150
151
152
153
154
        "transmission_curve_doc": "",
        "name": "Second visible filter",
        "desc": "",
        "created": "2016-05-13T11:50:11.226Z",
        "updated": "2016-05-13T11:50:11.226Z",
        "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
214
215
216
217
        "mpc_code": "",
        "name": "Telescope",
        "desc": "",
        "created": "2016-05-13T11:50:14.326Z",
        "updated": "2016-05-13T11:50:14.326Z",
        "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
235
236
237
238
239
240
241
242
243
244
    "fields": {
        "password": "pbkdf2_sha256$24000$NC9UO4LPGvDN$+pkRcZUbmV3HEtbrhBdDCSPnAsDVValrbwLt7cXqrJE=",
        "last_login": "2016-06-03T09:27:53.245Z",
        "is_superuser": true,
        "username": "haribo",
        "first_name": "",
        "last_name": "",
        "email": "",
        "is_staff": true,
        "is_active": true,
        "date_joined": "2016-05-02T14:02:36.495Z",
        "groups": [],
53787d30   Jeremy   Alert now inherit...
245
        "user_permissions": [],
6cffa40e   haribo   Fixture test common
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
        "country": 1,
        "user_level": 1,
        "desc": "",
        "created": "2016-06-03T09:29:15.450Z",
        "updated": "2016-06-03T09:29:15.450Z",
        "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
    }
}
]