[Erp5-report] r26975 - in /erp5/trunk/products/Formulator/tests: testForm.py testFormulator.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu May 14 12:44:28 CEST 2009
Author: nicolas
Date: Thu May 14 12:44:27 2009
New Revision: 26975
URL: http://svn.erp5.org?rev=26975&view=rev
Log:
This test is not a test, so i remove it
Removed:
erp5/trunk/products/Formulator/tests/testFormulator.py
Modified:
erp5/trunk/products/Formulator/tests/testForm.py
Modified: erp5/trunk/products/Formulator/tests/testForm.py
URL: http://svn.erp5.org/erp5/trunk/products/Formulator/tests/testForm.py?rev=26975&r1=26974&r2=26975&view=diff
==============================================================================
--- erp5/trunk/products/Formulator/tests/testForm.py [utf8] (original)
+++ erp5/trunk/products/Formulator/tests/testForm.py [utf8] Thu May 14 12:44:27 2009
@@ -121,7 +121,7 @@
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
Removed: erp5/trunk/products/Formulator/tests/testFormulator.py
URL: http://svn.erp5.org/erp5/trunk/products/Formulator/tests/testFormulator.py?rev=26974&view=auto
==============================================================================
--- erp5/trunk/products/Formulator/tests/testFormulator.py [utf8] (original)
+++ erp5/trunk/products/Formulator/tests/testFormulator.py (removed)
@@ -1,28 +1,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()
More information about the Erp5-report
mailing list