Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(2) | Call(0) | Derive(0) | Import(2)
src/e/r/erp5-HEAD/product/CMFActivity/tests/testCMFActivity.py erp5(Download)
def test_MAX_MESSAGE_LIST_SIZE_SQLQueue(self): from Products.CMFActivity.Activity import SQLQueue old_MAX_MESSAGE_LIST_SIZE = SQLQueue.MAX_MESSAGE_LIST_SIZE SQLQueue.MAX_MESSAGE_LIST_SIZE = 3
created activities are not commited if there is ZODB Conflict error """ from Products.CMFActivity.Activity import SQLQueue old_MAX_MESSAGE_LIST_SIZE = SQLQueue.MAX_MESSAGE_LIST_SIZE SQLQueue.MAX_MESSAGE_LIST_SIZE = 1