diff --git a/product/ERP5Type/tests/runUnitTest.py b/product/ERP5Type/tests/runUnitTest.py index 5da38b785b28fce6bb468f8b9e0739d28760d736..a9300457b2dff96b41956a9e5d81e51be2884b17 100755 --- a/product/ERP5Type/tests/runUnitTest.py +++ b/product/ERP5Type/tests/runUnitTest.py @@ -539,7 +539,7 @@ def runUnitTestList(test_list, verbosity=1, debug=0): os.chdir(instance_home) if save_mysql: save_mysql(verbosity) - if suite not in (ProcessingNodeTestCase, ZEOServerTestCase): + if suite.__class__ not in (ProcessingNodeTestCase, ZEOServerTestCase): # Static files are modified by the node installing business templates, # i.e. by the node running the unit test. There is no point saving them # on a ZEO server, or on nodes that only process activities: this has to