From 9578a7590f77bb15934d2b56c40a1212569aeb45 Mon Sep 17 00:00:00 2001 From: kyleknap Date: Thu, 12 Feb 2015 16:22:15 -0800 Subject: [PATCH] Revert "Revert "Fix failing unit test"" This reverts commit 70c3253d9460f01c711538f7bcece7f5da3433e1. --- tests/unit/test_topictags.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/test_topictags.py b/tests/unit/test_topictags.py index 2e45cb618dd4..c612d0bd51d4 100644 --- a/tests/unit/test_topictags.py +++ b/tests/unit/test_topictags.py @@ -59,7 +59,7 @@ def test_get_all_topic_source_files(self): topic_name = 'topic-name-' + str(i) source_files.append(self.file_creator.create_file(topic_name, '')) - self.assertEqual( + self.assertCountEqual( self.topic_tag_db.get_all_topic_src_files(), source_files ) @@ -73,7 +73,7 @@ def test_get_all_topic_source_files_ignore_index(self): topic_dir = self.file_creator.rootdir self.topic_tag_db = TopicTagDB(index_file=index_file, topic_dir=topic_dir) - self.assertEqual( + self.assertCountEqual( self.topic_tag_db.get_all_topic_src_files(), source_files ) @@ -86,7 +86,7 @@ def test_get_all_topic_source_files_ignore_hidden(self): self.file_creator.create_file(hidden_filename, '') topic_dir = self.file_creator.rootdir self.topic_tag_db = TopicTagDB(topic_dir=topic_dir) - self.assertEqual( + self.assertCountEqual( self.topic_tag_db.get_all_topic_src_files(), source_files )