Commit 731c6a3a authored by Sebastien Robin's avatar Sebastien Robin

new test for SQL Queue with after_method


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1791 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 283f2654
...@@ -956,11 +956,20 @@ class TestCMFActivity(ERP5TypeTestCase): ...@@ -956,11 +956,20 @@ class TestCMFActivity(ERP5TypeTestCase):
# Test if after_method_id can be used # Test if after_method_id can be used
if not run: return if not run: return
if not quiet: if not quiet:
message = '\nTry Active Method After Another Activate Method' message = '\nTry Active Method After Another Activate Method With SQLDict'
ZopeTestCase._print(message) ZopeTestCase._print(message)
LOG('Testing... ',0,message) LOG('Testing... ',0,message)
self.TryMethodAfterMethod('SQLDict') self.TryMethodAfterMethod('SQLDict')
def test_55_TryAfterMethodIdWithSQLQueue(self, quiet=0, run=run_all_test):
# Test if after_method_id can be used
if not run: return
if not quiet:
message = '\nTry Active Method After Another Activate Method With SQLQueue'
ZopeTestCase._print(message)
LOG('Testing... ',0,message)
self.TryMethodAfterMethod('SQLQueue')
if __name__ == '__main__': if __name__ == '__main__':
......
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