@@ -225,14 +225,14 @@ def test_find_ready_extracts_by_process(self):
225225 :return:
226226 """
227227 extract = ExtractTracker (process_run = self .process_tracker
228- , filename = 'test_extract_filename5-1.csv'
229- , location_name = 'Test Location'
230- , location_path = '/home/test/extract_dir' )
228+ , filename = 'test_extract_filename5-1.csv'
229+ , location_name = 'Test Location'
230+ , location_path = '/home/test/extract_dir' )
231231
232232 extract2 = ExtractTracker (process_run = self .process_tracker
233- , filename = 'test_extract_filename5-2.csv'
234- , location_name = 'Test Location'
235- , location_path = '/home/test/extract_dir' )
233+ , filename = 'test_extract_filename5-2.csv'
234+ , location_name = 'Test Location'
235+ , location_path = '/home/test/extract_dir' )
236236
237237 # Need to manually change the status, because this would normally be done while the process was processing data
238238 extract .extract .extract_status_id = extract .extract_status_ready
@@ -248,7 +248,7 @@ def test_find_ready_extracts_by_process(self):
248248
249249 given_result = self .process_tracker .find_ready_extracts_by_process ('Testing Process Tracking Initialization' )
250250
251- self .assertEqual (expected_result , given_result )
251+ self .assertEqual (sorted ( expected_result ), sorted ( given_result ) )
252252
253253 def test_find_ready_extracts_by_process_not_descending (self ):
254254 """
0 commit comments