@@ -164,17 +164,18 @@ def setUp(self):
164
164
def test_countmatches_as_unit (self ):
165
165
expected , output , errors , exit_status = self ._run_command ('countmatches' , action = 'getinfo' , protocol = 1 )
166
166
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
167
- self .assertEqual ('' , errors )
167
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
168
168
self ._compare_csv_files_time_sensitive (expected , output )
169
169
170
170
expected , output , errors , exit_status = self ._run_command ('countmatches' , action = 'execute' , protocol = 1 )
171
171
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
172
- self .assertEqual ('' , errors )
172
+
173
+ self .assertEqual ('' , errors , msg = six .text_type (errors ))
173
174
self ._compare_csv_files_time_sensitive (expected , output )
174
175
175
176
expected , output , errors , exit_status = self ._run_command ('countmatches' )
176
177
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
177
- self .assertEqual ('' , errors )
178
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
178
179
self ._compare_chunks (expected , output )
179
180
180
181
return
@@ -183,17 +184,17 @@ def test_generatehello_as_unit(self):
183
184
184
185
expected , output , errors , exit_status = self ._run_command ('generatehello' , action = 'getinfo' , protocol = 1 )
185
186
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
186
- self .assertEqual ('' , errors )
187
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
187
188
self ._compare_csv_files_time_sensitive (expected , output )
188
189
189
190
expected , output , errors , exit_status = self ._run_command ('generatehello' , action = 'execute' , protocol = 1 )
190
191
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
191
- self .assertEqual ('' , errors )
192
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
192
193
self ._compare_csv_files_time_insensitive (expected , output )
193
194
194
195
expected , output , errors , exit_status = self ._run_command ('generatehello' )
195
196
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
196
- self .assertEqual ('' , errors )
197
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
197
198
self ._compare_chunks (expected , output , time_sensitive = False )
198
199
199
200
return
@@ -203,17 +204,17 @@ def test_pypygeneratetext_as_unit(self):
203
204
204
205
expected , output , errors , exit_status = self ._run_command ('pypygeneratetext' , action = 'getinfo' , protocol = 1 )
205
206
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
206
- self .assertEqual ('' , errors )
207
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
207
208
self ._compare_csv_files_time_sensitive (expected , output )
208
209
209
210
expected , output , errors , exit_status = self ._run_command ('pypygeneratetext' , action = 'execute' , protocol = 1 )
210
211
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
211
- self .assertEqual ('' , errors )
212
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
212
213
self ._compare_csv_files_time_insensitive (expected , output )
213
214
214
215
expected , output , errors , exit_status = self ._run_command ('pypygeneratetext' )
215
216
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
216
- self .assertEqual ('' , errors )
217
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
217
218
self ._compare_chunks (expected , output , time_sensitive = False )
218
219
219
220
return
@@ -222,32 +223,32 @@ def test_sum_as_unit(self):
222
223
223
224
expected , output , errors , exit_status = self ._run_command ('sum' , action = 'getinfo' , phase = 'reduce' , protocol = 1 )
224
225
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
225
- self .assertEqual ('' , errors )
226
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
226
227
self ._compare_csv_files_time_sensitive (expected , output )
227
228
228
229
expected , output , errors , exit_status = self ._run_command ('sum' , action = 'getinfo' , phase = 'map' , protocol = 1 )
229
230
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
230
- self .assertEqual ('' , errors )
231
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
231
232
self ._compare_csv_files_time_sensitive (expected , output )
232
233
233
234
expected , output , errors , exit_status = self ._run_command ('sum' , action = 'execute' , phase = 'map' , protocol = 1 )
234
235
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
235
- self .assertEqual ('' , errors )
236
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
236
237
self ._compare_csv_files_time_sensitive (expected , output )
237
238
238
239
expected , output , errors , exit_status = self ._run_command ('sum' , action = 'execute' , phase = 'reduce' , protocol = 1 )
239
240
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
240
- self .assertEqual ('' , errors )
241
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
241
242
self ._compare_csv_files_time_sensitive (expected , output )
242
243
243
244
expected , output , errors , exit_status = self ._run_command ('sum' , phase = 'map' )
244
245
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
245
- self .assertEqual ('' , errors )
246
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
246
247
self ._compare_chunks (expected , output )
247
248
248
249
expected , output , errors , exit_status = self ._run_command ('sum' , phase = 'reduce' )
249
250
self .assertEqual (0 , exit_status , msg = six .text_type (errors ))
250
- self .assertEqual ('' , errors )
251
+ self .assertEqual ('' , errors , msg = six . text_type ( errors ) )
251
252
self ._compare_chunks (expected , output )
252
253
253
254
return
0 commit comments