From 7242ae2f3b2e7b421f9fe923c5246bccea5bd86c Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Thu, 14 May 2009 10:44:27 +0000 Subject: [PATCH] This test is not a test, so i remove it git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26975 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/Formulator/tests/testForm.py | 2 +- product/Formulator/tests/testFormulator.py | 28 ---------------------- 2 files changed, 1 insertion(+), 29 deletions(-) delete mode 100644 product/Formulator/tests/testFormulator.py diff --git a/product/Formulator/tests/testForm.py b/product/Formulator/tests/testForm.py index 7c60d3b662..297da399ba 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 f9bd58c114..0000000000 --- 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() -- 2.30.9