Commit 66e62604 authored by Jérome Perrin's avatar Jérome Perrin

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
parent 04de2dc1
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment