Commit 88ab8d11 authored by Gabriel Monnerat's avatar Gabriel Monnerat

fix my mistake. self.fail() is enough. thanks nicolas

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk/utils@42194 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 81e3c2ea
......@@ -82,7 +82,7 @@ class TestAllFormats(CloudoooTestCase):
magic_result = file_detector.from_buffer(decodestring(data_output))
self.assertEquals(magic_result.endswith(": empty"), False, magic_result)
if fault_list != []:
raise self.fail(fault_list)
self.fail(fault_list)
def test_suite():
......
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