Skip to content

Commit ee9183d

Browse files
committed
Fixing tests in travis
1 parent 66f72c6 commit ee9183d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

qiita_db/test/test_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ def test_update_preprocessed_data_from_cmd(self):
563563
# We need to sort the list returned from the db because the ordering
564564
# on that list is based on db modification time, rather than id
565565
obs_fps = sorted(ppd.get_filepaths())
566-
self.assertEqual(obs_fps, exp_fps)
566+
self.assertEqual(obs_fps, sorted(exp_fps))
567567

568568
# Check that the checksums have been updated
569569
sql = "SELECT checksum FROM qiita.filepath WHERE filepath_id=%s"

qiita_db/test/test_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ def test_get_filepaths(self):
550550
"preprocessed_fastq"),
551551
(5, join(self.db_test_ppd_dir, '1_seqs.demux'),
552552
"preprocessed_demux")]
553-
self.assertEqual(obs, exp)
553+
self.assertEqual(sorted(obs), sorted(exp))
554554

555555
def test_processed_data(self):
556556
"""Correctly returns the processed data id"""

0 commit comments

Comments
 (0)