[Erp5-report] r31675 nicolas - /erp5/trunk/products/ERP5OOo/tests/testOOoConversionCache.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Jan 11 10:15:51 CET 2010


Author: nicolas
Date: Mon Jan 11 10:15:50 2010
New Revision: 31675

URL: http://svn.erp5.org?rev=31675&view=rev
Log:
Follow new CacheConversion API, rewiewed by romain

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

Modified: erp5/trunk/products/ERP5OOo/tests/testOOoConversionCache.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/tests/testOOoConversionCache.py?rev=31675&r1=31674&r2=31675&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/tests/testOOoConversionCache.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/tests/testOOoConversionCache.py [utf8] Mon Jan 11 10:15:50 2010
@@ -301,7 +301,7 @@
     cache_id = document.generateCacheId(**kw)
     cache_factory = document._getCacheFactory()
     for cache_plugin in cache_factory.getCachePluginList():
-      cache_entry = cache_plugin.get(document.getPath(), DEFAULT_CACHE_SCOPE)
+      cache_entry = cache_plugin.get(document._getCacheKey(), DEFAULT_CACHE_SCOPE)
       value = cache_entry.getValue()
       md5sum, mime, data = value.get(cache_id)
       #get data from cache




More information about the Erp5-report mailing list