[Erp5-report] r17329 - /erp5/trunk/products/ERP5Type/tests/testConstraint.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Oct 31 19:32:26 CET 2007
Author: yo
Date: Wed Oct 31 19:32:25 2007
New Revision: 17329
URL: http://svn.erp5.org?rev=17329&view=rev
Log:
This is the right behavior.
Modified:
erp5/trunk/products/ERP5Type/tests/testConstraint.py
Modified: erp5/trunk/products/ERP5Type/tests/testConstraint.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testConstraint.py?rev=17329&r1=17328&r2=17329&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testConstraint.py (original)
+++ erp5/trunk/products/ERP5Type/tests/testConstraint.py Wed Oct 31 19:32:25 2007
@@ -414,25 +414,23 @@
# Test Constraint with property defined on object
# With None value
# None is considered as a NULL value for string
- # and so, is considered as a data
+ # and so, is considered as no data
sequence_string = '\
CreateObject \
SetObjectNoneTitle \
CreatePropertyExistence2 \
CallCheckConsistency \
- CheckIfConstraintSucceeded \
+ CheckIfConstraintFailed \
'
sequence_list.addSequenceString(sequence_string)
# Test Constraint with property defined on object
# With '' value
- # As disapointing as it could be, empty string is a data,
- # and test must succeed
sequence_string = '\
CreateObject \
SetObjectEmptyTitle \
CreatePropertyExistence2 \
CallCheckConsistency \
- CheckIfConstraintSucceeded \
+ CheckIfConstraintFailed \
'
sequence_list.addSequenceString(sequence_string)
# Test Constraint with property defined on object
More information about the Erp5-report
mailing list