Commit a982d7f6 authored by Rafael Monnerat's avatar Rafael Monnerat

Removed useless code.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23920 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 16a4e2b6
...@@ -26,20 +26,11 @@ ...@@ -26,20 +26,11 @@
# #
############################################################################## ##############################################################################
import os, sys
if __name__ == '__main__':
execfile(os.path.join(sys.path[0], 'framework.py'))
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from zLOG import LOG
from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Type.tests.Sequence import SequenceList
from Testing import ZopeTestCase
from Products.ERP5Type.Utils import get_request from Products.ERP5Type.Utils import get_request
from Products.ERP5Type.tests.utils import createZODBPythonScript
from ZPublisher.HTTPRequest import FileUpload
from StringIO import StringIO from StringIO import StringIO
from Products.ERP5Form.Selection import Selection
from DateTime import DateTime from DateTime import DateTime
class DummyFieldStorage: class DummyFieldStorage:
...@@ -156,12 +147,9 @@ class TestPlanningBox(ERP5TypeTestCase): ...@@ -156,12 +147,9 @@ class TestPlanningBox(ERP5TypeTestCase):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self, quiet=quiet) sequence_list.play(self, quiet=quiet)
if __name__ == '__main__': import unittest
framework() def test_suite():
else: suite = unittest.TestSuite()
import unittest suite.addTest(unittest.makeSuite(TestPlanningBox))
def test_suite(): return suite
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestPlanningBox))
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