diff --git a/product/ERP5OOo/tests/testDms.py b/product/ERP5OOo/tests/testDms.py index 8113eb1ec57be57c21ef112746f25d0b362756e5..610b92aac4baf5e4fe4ba6a2d36c6a31b5ace156 100644 --- a/product/ERP5OOo/tests/testDms.py +++ b/product/ERP5OOo/tests/testDms.py @@ -651,6 +651,18 @@ class TestDocument(ERP5TypeTestCase, ZopeTestCase.Functional): image = image_list[0] self.assertEquals('embedded', image.getValidationState()) + def test_09_ScriptableKeys(self, quiet=QUIET, run=RUN_ALL_TEST): + """ + Check the default DMS scriptale keys + """ + if not run: return + printAndLog('\nScriptable Keys') + # Check that SQL generated is valid + self.portal.portal_catalog(advanced_search_text='') + self.portal.portal_catalog(advanced_search_text='a search text') + self.portal.portal_catalog(portal_search_text='') + self.portal.portal_catalog(portal_search_text='a search text') + class TestDocumentWithSecurity(ERP5TypeTestCase):