From d2dee0635474c76d9515237af51931256935e204 Mon Sep 17 00:00:00 2001 From: Alexandre Boeglin <alex@nexedi.com> Date: Thu, 18 May 2006 08:53:16 +0000 Subject: [PATCH] Fixed wrong logic. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7332 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/tests/runUnitTest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py index 81bf643665..67f39bfa70 100755 --- a/product/ERP5Type/tests/runUnitTest.py +++ b/product/ERP5Type/tests/runUnitTest.py @@ -118,7 +118,7 @@ def runUnitTestList(test_list) : attr = getattr(m, attr_name) if (type(attr) == type(type)) and (hasattr(attr, '__module__')) and \ (attr.__module__ == test_module) : - if test_class_list is not None and attr.__name__ in test_class_list: + if test_class_list is None or attr.__name__ in test_class_list: suite.addTest(unittest.makeSuite(attr)) return TestRunner().run(suite) -- 2.30.9