@@ -92,6 +92,7 @@ def test_artifact_summary_get_request(self):
92
92
(2L , '1_s_G1_L001_sequences_barcodes.fastq.gz (raw barcodes)' )]
93
93
exp = {'name' : 'Raw data 1' ,
94
94
'artifact_id' : 1 ,
95
+ 'artifact_timestamp' : '2012-10-01 09:10' ,
95
96
'visibility' : 'private' ,
96
97
'editable' : True ,
97
98
'buttons' : ('<button onclick="if (confirm(\' Are you sure you '
@@ -120,6 +121,7 @@ def test_artifact_summary_get_request(self):
120
121
obs = artifact_summary_get_request (user , 1 )
121
122
exp = {'name' : 'Raw data 1' ,
122
123
'artifact_id' : 1 ,
124
+ 'artifact_timestamp' : '2012-10-01 09:10' ,
123
125
'visibility' : 'private' ,
124
126
'editable' : True ,
125
127
'buttons' : ('<button onclick="if (confirm(\' Are you sure you '
@@ -155,6 +157,7 @@ def test_artifact_summary_get_request(self):
155
157
obs = artifact_summary_get_request (user , 1 )
156
158
exp = {'name' : 'Raw data 1' ,
157
159
'artifact_id' : 1 ,
160
+ 'artifact_timestamp' : '2012-10-01 09:10' ,
158
161
'visibility' : 'private' ,
159
162
'editable' : True ,
160
163
'buttons' : ('<button onclick="if (confirm(\' Are you sure you '
@@ -184,6 +187,7 @@ def test_artifact_summary_get_request(self):
184
187
obs = artifact_summary_get_request (demo_u , 1 )
185
188
exp = {'name' : 'Raw data 1' ,
186
189
'artifact_id' : 1 ,
190
+ 'artifact_timestamp' : '2012-10-01 09:10' ,
187
191
'visibility' : 'public' ,
188
192
'editable' : False ,
189
193
'buttons' : '' ,
@@ -210,6 +214,7 @@ def test_artifact_summary_get_request(self):
210
214
(5L , '1_seqs.demux (preprocessed demux)' )]
211
215
exp = {'name' : 'Demultiplexed 1' ,
212
216
'artifact_id' : 2 ,
217
+ 'artifact_timestamp' : '2012-10-01 10:10' ,
213
218
'visibility' : 'private' ,
214
219
'editable' : True ,
215
220
'buttons' : ('<button onclick="if (confirm(\' Are you sure you '
@@ -245,6 +250,8 @@ def test_artifact_summary_get_request(self):
245
250
obs = artifact_summary_get_request (user , 8 )
246
251
exp = {'name' : 'noname' ,
247
252
'artifact_id' : 8 ,
253
+ # this value changes on build so copy from obs
254
+ 'artifact_timestamp' : obs ['artifact_timestamp' ],
248
255
'visibility' : 'sandbox' ,
249
256
'editable' : True ,
250
257
'buttons' : '' ,
0 commit comments