From 731c6a3a363cbddf9b07f860018d11ed737e9929 Mon Sep 17 00:00:00 2001
From: Sebastien Robin <seb@nexedi.com>
Date: Tue, 28 Sep 2004 09:47:00 +0000
Subject: [PATCH] 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
---
 product/CMFActivity/tests/testCMFActivity.py | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/product/CMFActivity/tests/testCMFActivity.py b/product/CMFActivity/tests/testCMFActivity.py
index 3ee307bc8b..386e24104e 100755
--- a/product/CMFActivity/tests/testCMFActivity.py
+++ b/product/CMFActivity/tests/testCMFActivity.py
@@ -956,11 +956,20 @@ class TestCMFActivity(ERP5TypeTestCase):
     # Test if after_method_id can be used
     if not run: return
     if not quiet:
-      message = '\nTry Active Method After Another Activate Method'
+      message = '\nTry Active Method After Another Activate Method With SQLDict'
       ZopeTestCase._print(message)
       LOG('Testing... ',0,message)
     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__':
-- 
2.30.9