Commit c4f9a9e1 authored by Rafael Monnerat's avatar Rafael Monnerat

Compare list as set to prevent false positives due order

parent f26567c4
...@@ -292,7 +292,7 @@ class NonInformativeTests(unittest.TestCase): ...@@ -292,7 +292,7 @@ class NonInformativeTests(unittest.TestCase):
recipe.buildout_prefix = prefix recipe.buildout_prefix = prefix
file_list = recipe.get_installed_files(ref_path) file_list = recipe.get_installed_files(ref_path)
installed_files.pop(2) installed_files.pop(2)
self.assertEquals([os.path.relpath(f, prefix) for f in file_list], installed_files) self.assertEquals(set([os.path.relpath(f, prefix) for f in file_list]), set(installed_files))
def test_honor_buidlout_keep_compile_directory(self): def test_honor_buidlout_keep_compile_directory(self):
buildout = {'keep-compile-dir' : 'true'} buildout = {'keep-compile-dir' : 'true'}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment