[Erp5-report] r18246 - /erp5/trunk/products/ERP5Type/tests/testERP5Type.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Dec 11 16:53:36 CET 2007
Author: jerome
Date: Tue Dec 11 16:53:36 2007
New Revision: 18246
URL: http://svn.erp5.org?rev=18246&view=rev
Log:
update comments in the test
Modified:
erp5/trunk/products/ERP5Type/tests/testERP5Type.py
Modified: erp5/trunk/products/ERP5Type/tests/testERP5Type.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testERP5Type.py?rev=18246&r1=18245&r2=18246&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testERP5Type.py (original)
+++ erp5/trunk/products/ERP5Type/tests/testERP5Type.py Tue Dec 11 16:53:36 2007
@@ -115,8 +115,10 @@
# reset aq_dynamic cache
_aq_reset()
+
class TestERP5Type(PropertySheetTestCase, LogInterceptor):
-
+ """Tests ERP5TypeInformation and per portal type generated accessors.
+ """
run_all_test = 1
quiet = 1
@@ -187,12 +189,12 @@
# Test if portal_categories has getId method (RAD)
self.assertEquals(self.getCategoryTool().getId(), 'portal_categories')
- # erp5_common tests
- def testCommonHasParentBaseCategory(self):
+ # erp5_core tests
+ def testERP5CoreHasParentBaseCategory(self):
# Test if erp5_common parent base category was imported successfully
self.assertNotEquals(getattr(self.getCategoryTool(), 'parent', None), None)
- def testCommonHasImageType(self):
+ def testERP5CoreHasImageType(self):
# Test if erp5_common parent base category was imported successfully
self.assertNotEquals(getattr(self.getTypeTool(), 'Image', None), None)
@@ -1751,7 +1753,6 @@
self.assertEquals('foo', doc.getTranslatedDummy())
self.assertEquals(['foo'], self.portal.Localizer.default._translated)
-
# _aq_reset should be called implicitly when the system configuration
# changes:
def test_aq_reset_on_portal_types_properties_change(self):
More information about the Erp5-report
mailing list