Commit 7242ae2f authored by Nicolas Delaby's avatar Nicolas Delaby

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
parent 0ad8e8af
......@@ -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
......
# -*- 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()
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