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,8 +32,6 @@ ...@@ -32,8 +32,6 @@
# Skeleton ZopeTestCase # Skeleton ZopeTestCase
# #
from random import randint
import os, sys import os, sys
if __name__ == '__main__': if __name__ == '__main__':
execfile(os.path.join(sys.path[0], 'framework.py')) execfile(os.path.join(sys.path[0], 'framework.py'))
...@@ -46,7 +44,6 @@ from Testing import ZopeTestCase ...@@ -46,7 +44,6 @@ from Testing import ZopeTestCase
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.Base import _aq_reset from Products.ERP5Type.Base import _aq_reset
from Products.ERP5.Document.Organisation import Organisation from Products.ERP5.Document.Organisation import Organisation
from Products.ERP5Type.Tool.ClassTool import _aq_reset
from DateTime import DateTime from DateTime import DateTime
from Products.ERP5.Document.Person import Person from Products.ERP5.Document.Person import Person
from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager from AccessControl.SecurityManagement import newSecurityManager, noSecurityManager
...@@ -69,7 +66,6 @@ class TestInteractionWorkflow(ERP5TypeTestCase): ...@@ -69,7 +66,6 @@ class TestInteractionWorkflow(ERP5TypeTestCase):
def afterSetUp(self): def afterSetUp(self):
self.login() self.login()
#self.createData()
def login(self, quiet=0): def login(self, quiet=0):
uf = self.getPortal().acl_users uf = self.getPortal().acl_users
...@@ -434,6 +430,6 @@ else: ...@@ -434,6 +430,6 @@ else:
import unittest import unittest
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(Test)) suite.addTest(unittest.makeSuite(TestInteractionWorkflow))
return suite 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