From 44a0bc0237ac61e18ea24e715c3e1862d8a69a50 Mon Sep 17 00:00:00 2001 From: Nicolas Dumazet <nicolas.dumazet@nexedi.com> Date: Mon, 19 Oct 2009 15:39:06 +0000 Subject: [PATCH] Use booleans instead of 1/0 in default Test template git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29806 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/Tool/ClassTool.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/product/ERP5Type/Tool/ClassTool.py b/product/ERP5Type/Tool/ClassTool.py index c74e38c8ac..565f3869fb 100644 --- a/product/ERP5Type/Tool/ClassTool.py +++ b/product/ERP5Type/Tool/ClassTool.py @@ -579,15 +579,15 @@ class Test(ERP5TypeTestCase): def enableLightInstall(self): """ - Return if we should do a light install (1) or not (0) + Return if we should do a light install or not """ - return 1 + return True def enableActivityTool(self): """ - Return if we should create (1) or not (0) an activity tool + Return if we should create or not an activity tool """ - return 1 + return True def afterSetUp(self): """ -- 2.30.9