From 6d3e3fe2b2ddc194a292d5704fef1ca4b7f0a87a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Tue, 26 Jun 2007 10:25:48 +0000 Subject: [PATCH] test predicate work with test method id even if script do not take predicate as parameter git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@14976 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testPredicate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5/tests/testPredicate.py b/product/ERP5/tests/testPredicate.py index 3ae9b1b667..8a4fa6a251 100644 --- a/product/ERP5/tests/testPredicate.py +++ b/product/ERP5/tests/testPredicate.py @@ -136,7 +136,7 @@ class TestPredicates(ERP5TypeTestCase): def stepCreatePredicateFalseScript(self, sequence=None, **kw) : """Creates a script that always return false""" createZODBPythonScript(self.getPortal().portal_skins.erp5_base, - 'Predicate_false', 'predicate', """return 0""") + 'Predicate_false', '', """return 0""") sequence.edit(test_method_id = 'Predicate_false') def stepCreateTestMethodIdPredicate(self, sequence=None, **kw) : -- 2.30.9