[Erp5-report] r35862 nicolas - /erp5/trunk/products/ERP5OOo/tests/testDms.py

nobody at svn.erp5.org nobody at svn.erp5.org
Tue Jun 1 14:36:52 CEST 2010


Author: nicolas
Date: Tue Jun  1 14:36:51 2010
New Revision: 35862

URL: http://svn.erp5.org?rev=35862&view=rev
Log:
Use a copy of that dictionary to avoid concurrencies between Threads

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

Modified: erp5/trunk/products/ERP5OOo/tests/testDms.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testDms.py?rev=35862&r1=35861&r2=35862&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testDms.py [utf8] Tue Jun  1 14:36:51 2010
@@ -1600,7 +1600,7 @@
           convert_kw['frame'] = frame
           response = self.publish_method(self.document_path,
                                          basic=self.credential,
-                                         extra=convert_kw)
+                                         extra=convert_kw.copy())
 
           assert response.getHeader('content-type') == 'image/png', \
                                              response.getHeader('content-type')




More information about the Erp5-report mailing list