Commit b2f6d598 authored by Jérome Perrin's avatar Jérome Perrin

update comments in the test


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18246 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b37b6d76
...@@ -115,8 +115,10 @@ class %(property_sheet_name)s: ...@@ -115,8 +115,10 @@ class %(property_sheet_name)s:
# reset aq_dynamic cache # reset aq_dynamic cache
_aq_reset() _aq_reset()
class TestERP5Type(PropertySheetTestCase, LogInterceptor):
class TestERP5Type(PropertySheetTestCase, LogInterceptor):
"""Tests ERP5TypeInformation and per portal type generated accessors.
"""
run_all_test = 1 run_all_test = 1
quiet = 1 quiet = 1
...@@ -187,12 +189,12 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor): ...@@ -187,12 +189,12 @@ class TestERP5Type(PropertySheetTestCase, LogInterceptor):
# Test if portal_categories has getId method (RAD) # Test if portal_categories has getId method (RAD)
self.assertEquals(self.getCategoryTool().getId(), 'portal_categories') self.assertEquals(self.getCategoryTool().getId(), 'portal_categories')
# erp5_common tests # erp5_core tests
def testCommonHasParentBaseCategory(self): def testERP5CoreHasParentBaseCategory(self):
# Test if erp5_common parent base category was imported successfully # Test if erp5_common parent base category was imported successfully
self.assertNotEquals(getattr(self.getCategoryTool(), 'parent', None), None) self.assertNotEquals(getattr(self.getCategoryTool(), 'parent', None), None)
def testCommonHasImageType(self): def testERP5CoreHasImageType(self):
# Test if erp5_common parent base category was imported successfully # Test if erp5_common parent base category was imported successfully
self.assertNotEquals(getattr(self.getTypeTool(), 'Image', None), None) self.assertNotEquals(getattr(self.getTypeTool(), 'Image', None), None)
...@@ -1751,7 +1753,6 @@ class TestPropertySheet: ...@@ -1751,7 +1753,6 @@ class TestPropertySheet:
self.assertEquals('foo', doc.getTranslatedDummy()) self.assertEquals('foo', doc.getTranslatedDummy())
self.assertEquals(['foo'], self.portal.Localizer.default._translated) self.assertEquals(['foo'], self.portal.Localizer.default._translated)
# _aq_reset should be called implicitly when the system configuration # _aq_reset should be called implicitly when the system configuration
# changes: # changes:
def test_aq_reset_on_portal_types_properties_change(self): def test_aq_reset_on_portal_types_properties_change(self):
......
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