From 51f058ad453a0d6a92b387929edc0c7fa54fc0ba Mon Sep 17 00:00:00 2001 From: Jesse Zoldak Date: Fri, 24 Jul 2015 13:57:52 -0400 Subject: [PATCH] Fix library index test --- .../management/commands/tests/test_reindex_library.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/djangoapps/contentstore/management/commands/tests/test_reindex_library.py b/cms/djangoapps/contentstore/management/commands/tests/test_reindex_library.py index e65c7cbd16..4442c8d58c 100644 --- a/cms/djangoapps/contentstore/management/commands/tests/test_reindex_library.py +++ b/cms/djangoapps/contentstore/management/commands/tests/test_reindex_library.py @@ -130,7 +130,7 @@ class TestReindexLibrary(ModuleStoreTestCase): patched_yes_no.assert_called_once_with(ReindexCommand.CONFIRMATION_PROMPT, default='no') expected_calls = self._build_calls(self.first_lib, self.second_lib) - self.assertEqual(patched_index.mock_calls, expected_calls) + self.assertItemsEqual(patched_index.mock_calls, expected_calls) def test_given_all_key_prompts_and_reindexes_all_libraries_cancelled(self): """ Test that does not reindex anything when --all key is given and cancelled """