Commit f8dcc76f authored by Nicolas Delaby's avatar Nicolas Delaby

Use Persistent Cache for DMS unit test

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27988 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b433a65a
......@@ -119,7 +119,7 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional):
default_pref.setPreferredOoodocServerPortNumber(conversion_server_host[1])
default_pref.setPreferredDocumentFileNameRegularExpression(FILE_NAME_REGULAR_EXPRESSION)
default_pref.setPreferredDocumentReferenceRegularExpression(REFERENCE_REGULAR_EXPRESSION)
default_pref.setPreferredConversionCacheFactory('document_cache_factory')
default_pref.setPreferredConversionCacheFactory('dms_cache_factory')
if default_pref.getPreferenceState() != 'global':
default_pref.enable()
......@@ -763,7 +763,6 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional):
self.assert_('I use reference to look up TEST' in
document.SearchableText())
class TestDocumentWithSecurity(ERP5TypeTestCase):
username = 'yusei'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment