Commit 25c3085c authored by Jérome Perrin's avatar Jérome Perrin

test: remove useless test_suite method

default test suite runs all tests, that's what we want here.
parent 23d37400
......@@ -25,8 +25,6 @@
#
##############################################################################
import unittest
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.tests.utils import createZODBPythonScript
from Products.ERP5Type.tests.utils import removeZODBPythonScript
......@@ -138,9 +136,3 @@ class TestRestrictedPythonSecurity(ERP5TypeTestCase):
self.assertRaises(Unauthorized,
self.createAndRunScript, 'import os',
'return os.system')
def test_suite():
suite = unittest.TestSuite()
suite.addTest(unittest.makeSuite(TestRestrictedPythonSecurity))
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