From c05212926fb1b171708eea8dbf6743d28d1156cd Mon Sep 17 00:00:00 2001 From: Simone Orsi Date: Tue, 3 Oct 2017 11:52:49 +0200 Subject: [PATCH] [fix] base_manifest_extension tests Comparison of dependencies was failing because of items order. --- base_manifest_extension/tests/test_hooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_manifest_extension/tests/test_hooks.py b/base_manifest_extension/tests/test_hooks.py index 3e06b8cab..5c8de68a8 100644 --- a/base_manifest_extension/tests/test_hooks.py +++ b/base_manifest_extension/tests/test_hooks.py @@ -61,7 +61,7 @@ class TestHooks(TransactionCase): result = _installed_modules(self.test_cr, self.test_rdepends) expected = self.test_rdepends[:2] - self.assertEqual(result, expected) + self.assertItemsEqual(result, expected) def test_installed_modules_empty_starting_list(self): """It should safely handle being passed an empty module list"""