[Erp5-report] r26940 - in /erp5/trunk/products/Formulator/tests: testFormulator.py test_all.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue May 12 17:13:17 CEST 2009
Author: nicolas
Date: Tue May 12 17:13:16 2009
New Revision: 26940
URL: http://svn.erp5.org?rev=26940&view=rev
Log:
rename Test
Added:
erp5/trunk/products/Formulator/tests/testFormulator.py
- copied unchanged from r26936, erp5/trunk/products/Formulator/tests/test_all.py
Removed:
erp5/trunk/products/Formulator/tests/test_all.py
Removed: erp5/trunk/products/Formulator/tests/test_all.py
URL: http://svn.erp5.org/erp5/trunk/products/Formulator/tests/test_all.py?rev=26939&view=auto
==============================================================================
--- erp5/trunk/products/Formulator/tests/test_all.py [utf8] (original)
+++ erp5/trunk/products/Formulator/tests/test_all.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 test_Form, test_validators, test_serialize
-
-def test_suite():
- suite = unittest.TestSuite()
- suite.addTest(test_Form.test_suite())
- suite.addTest(test_validators.test_suite())
- suite.addTest(test_serialize.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