[Erp5-report] r42280 nicolas - /erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Jan 12 18:27:13 CET 2011
Author: nicolas
Date: Wed Jan 12 18:27:13 2011
New Revision: 42280
URL: http://svn.erp5.org?rev=42280&view=rev
Log:
Collect all failures before raise error.
Modified:
erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py
Modified: erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py
URL: http://svn.erp5.org/erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py?rev=42280&r1=42279&r2=42280&view=diff
==============================================================================
--- erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py [utf8] (original)
+++ erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/testAllFormats.py [utf8] Wed Jan 12 18:27:13 2011
@@ -78,7 +78,9 @@ class TestAllFormats(CloudoooTestCase):
source_format,
extension[0])
magic_result = file_detector.from_buffer(decodestring(data_output))
- self.assertFalse(magic_result.endswith(": empty"))
+ file_is_empty = not magic_result.endswith(": empty")
+ if file_is_empty:
+ fault_list.append((source_format, extension[0], magic_result))
except Fault, err:
fault_list.append((source_format, extension[0], err.faultString))
if fault_list:
More information about the Erp5-report
mailing list