Commit 7cc44feb authored by Jean-Paul Smets's avatar Jean-Paul Smets

Renumbered. Added placeholder for value accessors

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@10008 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 658e6d07
......@@ -291,7 +291,7 @@ class TestERP5Type(ERP5TypeTestCase, LogInterceptor):
new_orga = folder[new_id]
self.assertEquals(new_orga.getTitle(), 'something')
def test_09_AccessorGeneration(self):
def test_08_AccessorGeneration(self):
"""Tests accessor generation doesn't generate error messages.
"""
from Products.ERP5Type.Base import _aq_reset
......@@ -303,7 +303,7 @@ class TestERP5Type(ERP5TypeTestCase, LogInterceptor):
orga.getId()
self._ignore_log_errors()
def test_10_RenameObjects(self):
def test_09_RenameObjects(self):
"""Test object renaming.
As we overloaded some parts of OFS, it's better to test again some basic
features.
......@@ -328,6 +328,23 @@ class TestERP5Type(ERP5TypeTestCase, LogInterceptor):
new_id = '%s_new' % id_
self.assertEquals(folder._getOb(new_id).getId(), new_id)
def test_10_valueAccessor(self):
"""
The purpose of this test is to
The same test must be done for category accessors
for list accessors and for acquired property accessors
"""
# setRegionValueList((a, b, a, b))
# setRegionValue((a, b, a, b))
# setRegionValueSet((a, b, a, b))
# setDefaultRegion(a)
# getDefaultRegion
# getRegion
# getRegionList
# getRegionSet
pass
def test_11_ConstraintNotFound(self):
"""
When a Constraint is not found while importing a PropertySheet, AttributeError
......
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