diff --git a/product/Formulator/tests/testForm.py b/product/Formulator/tests/testForm.py index 7c60d3b662bd76d65e3d0af24f4b31835b10f1a4..297da399baab076ba8908f8c8d788859658833b1 100644 --- a/product/Formulator/tests/testForm.py +++ b/product/Formulator/tests/testForm.py @@ -121,7 +121,7 @@ class FormTestCase(unittest.TestCase): def test_datetime_css_class_rendering(self): # test that a bug is fixed, which causing the css_class value # not to be rendered - + import pdb;pdb.set_trace() self.form.manage_addProduct['Formulator']\ .manage_addField('date_time','Test Field','DateTimeField') field = self.form.date_time diff --git a/product/Formulator/tests/testFormulator.py b/product/Formulator/tests/testFormulator.py deleted file mode 100644 index f9bd58c11425d7b650cce657c99ca683d0998452..0000000000000000000000000000000000000000 --- a/product/Formulator/tests/testFormulator.py +++ /dev/null @@ -1,28 +0,0 @@ -# -*- coding: utf-8 -*- -# Copyright (c) 2002 Infrae. All rights reserved. -# See also LICENSE.txt -# $Revision: 1.2 $ -import unittest -import Zope2 - -try: - from Zope2 import startup - startup() -except ImportError: - # startup is only in Zope2.6 - pass - -from Products.Formulator.tests import testForm, testFormValidator, testSerializeForm - -def test_suite(): - suite = unittest.TestSuite() - suite.addTest(testForm.test_suite()) - suite.addTest(testFormValidator.test_suite()) - suite.addTest(testSerializeForm.test_suite()) - return suite - -def main(): - unittest.TextTestRunner(verbosity=1).run(test_suite()) - -if __name__ == '__main__': - main()