From 66e62604402ca588e7a36f2e3e45ac35e33bf4f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Fri, 21 Jul 2006 13:15:56 +0000 Subject: [PATCH] specify the good class name to test_suite git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8669 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/tests/testInteractionWorkflow.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/product/ERP5/tests/testInteractionWorkflow.py b/product/ERP5/tests/testInteractionWorkflow.py index 459edb5b44..53c055dbb8 100644 --- a/product/ERP5/tests/testInteractionWorkflow.py +++ b/product/ERP5/tests/testInteractionWorkflow.py @@ -32,11 +32,9 @@ # Skeleton ZopeTestCase # -from random import randint - import os, sys if __name__ == '__main__': - execfile(os.path.join(sys.path[0], 'framework.py')) + execfile(os.path.join(sys.path[0], 'framework.py')) # Needed in order to have a log file inside the current folder os.environ['EVENT_LOG_FILE'] = os.path.join(os.getcwd(), 'zLOG.log') @@ -46,7 +44,6 @@ from Testing import ZopeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.Base import _aq_reset from Products.ERP5.Document.Organisation import Organisation -from Products.ERP5Type.Tool.ClassTool import _aq_reset from DateTime import DateTime from Products.ERP5.Document.Person import Person from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager @@ -69,7 +66,6 @@ class TestInteractionWorkflow(ERP5TypeTestCase): def afterSetUp(self): self.login() - #self.createData() def login(self, quiet=0): uf = self.getPortal().acl_users @@ -434,6 +430,6 @@ else: import unittest def test_suite(): suite = unittest.TestSuite() - suite.addTest(unittest.makeSuite(Test)) + suite.addTest(unittest.makeSuite(TestInteractionWorkflow)) return suite -- 2.30.9