[Erp5-report] r32055 nicolas - /erp5/trunk/products/ERP5OOo/tests/testIngestion.py

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 28 11:58:05 CET 2010


Author: nicolas
Date: Thu Jan 28 11:58:04 2010
New Revision: 32055

URL: http://svn.erp5.org?rev=32055&view=rev
Log:
Execute activities and let discoverMetada setup the correct file_name in source_reference

Modified:
    erp5/trunk/products/ERP5OOo/tests/testIngestion.py

Modified: erp5/trunk/products/ERP5OOo/tests/testIngestion.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testIngestion.py?rev=32055&r1=32054&r2=32055&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testIngestion.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testIngestion.py [utf8] Thu Jan 28 11:58:04 2010
@@ -1443,6 +1443,8 @@
     my_filename = 'Something.doc'
     document = contribution_tool.newContent(file=file_object,
                                             file_name=my_filename)
+    transaction.commit()
+    self.tic()
     self.assertEquals(document.getSourceReference(), my_filename)
 
 # Missing tests




More information about the Erp5-report mailing list