[Erp5-report] r42288 nicolas - /erp5/trunk/utils/cloudooo/cloudooo/handler/ooo/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jan 13 09:46:59 CET 2011
Author: nicolas
Date: Thu Jan 13 09:46:59 2011
New Revision: 42288
URL: http://svn.erp5.org?rev=42288&view=rev
Log:
Oops wrong assertion
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=42288&r1=42287&r2=42288&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] Thu Jan 13 09:46:59 2011
@@ -78,7 +78,7 @@ class TestAllFormats(CloudoooTestCase):
source_format,
extension[0])
magic_result = file_detector.from_buffer(decodestring(data_output))
- file_is_empty = not magic_result.endswith(": empty")
+ file_is_empty = magic_result.endswith(": empty")
if file_is_empty:
fault_list.append((source_format, extension[0], magic_result))
except Fault, err:
More information about the Erp5-report
mailing list