Commit ff9d8cd7 authored by Łukasz Nowak's avatar Łukasz Nowak

- implement tic step


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26537 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 26c8961e
......@@ -840,6 +840,17 @@ class ERP5TypeTestCase(PortalTestCase):
import pdb; pdb.set_trace()
pass
def stepTic(self, **kw):
"""
The is used to simulate the zope_tic_loop script
Each time this method is called, it simulates a call to tic
which invoke activities in the Activity Tool
"""
if kw.get('sequence', None) is None:
# in case of using not in sequence commit transaction
get_transaction().commit()
self.tic()
def publish(self, path, basic=None, env=None, extra=None,
request_method='GET', stdin=None, handle_errors=True):
'''Publishes the object at 'path' returning a response object.'''
......
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