[Erp5-report] r40001 jm - in /erp5/trunk/products: ERP5/tests/ ERP5Type/tests/
nobody at svn.erp5.org
nobody at svn.erp5.org
Sun Nov 7 04:11:15 CET 2010
Author: jm
Date: Sun Nov 7 04:11:14 2010
New Revision: 40001
URL: http://svn.erp5.org?rev=40001&view=rev
Log:
testERP5(Type)Interfaces: do not import from Products.ERP5Type.Document anymore
Modified:
erp5/trunk/products/ERP5/tests/testERP5Interfaces.py
erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py
Modified: erp5/trunk/products/ERP5/tests/testERP5Interfaces.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/tests/testERP5Interfaces.py?rev=40001&r1=40000&r2=40001&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/tests/testERP5Interfaces.py [utf8] (original)
+++ erp5/trunk/products/ERP5/tests/testERP5Interfaces.py [utf8] Sun Nov 7 04:11:14 2010
@@ -34,30 +34,30 @@ import unittest
# this list can be generated automatically using introspection or can be set
# manually and treated as reference to what implements what
implements_tuple_list = [
- (('Products.ERP5Type.Document.RoleDefinition', 'RoleDefinition'), 'ILocalRoleGenerator'),
- (('Products.ERP5Type.Document.BusinessLink','BusinessLink'), 'IBusinessLink'),
- (('Products.ERP5Type.Document.BusinessLink','BusinessLink'), 'ICategoryAccessProvider'),
- (('Products.ERP5Type.Document.TradeCondition','TradeCondition'), 'IAmountGenerator'),
- (('Products.ERP5Type.Document.TradeModelCell','TradeModelCell'), 'IAmountGenerator'),
- (('Products.ERP5Type.Document.TradeModelCell','TradeModelCell'), 'IVariated'),
- (('Products.ERP5Type.Document.TradeModelLine','TradeModelLine'), 'IAmountGenerator'),
- (('Products.ERP5Type.Document.TradeModelLine','TradeModelLine'), 'IVariated'),
- (('Products.ERP5Type.Document.TradeModelPath','TradeModelPath'), 'IArrowBase'),
- (('Products.ERP5Type.Document.TradeModelRule','TradeModelRule'), 'IPredicate'),
- (('Products.ERP5Type.Document.TradeModelRule','TradeModelRule'), 'IRule'),
- (('Products.ERP5Type.Document.Transformation','Transformation'), 'IAmountGenerator'),
- (('Products.ERP5Type.Document.Transformation','Transformation'), 'IVariated'),
- (('Products.ERP5Type.Document.TransformationRule','TransformationRule'), 'IPredicate'),
- (('Products.ERP5Type.Document.TransformationRule','TransformationRule'), 'IRule'),
- (('Products.ERP5Type.Document.TransformedResource','TransformedResource'), 'IVariated'),
+ (('Products.ERP5.Document.RoleDefinition', 'RoleDefinition'), 'ILocalRoleGenerator'),
+ (('Products.ERP5.Document.BusinessLink','BusinessLink'), 'IBusinessLink'),
+ (('Products.ERP5.Document.BusinessLink','BusinessLink'), 'ICategoryAccessProvider'),
+ (('Products.ERP5.Document.TradeCondition','TradeCondition'), 'IAmountGenerator'),
+ (('Products.ERP5.Document.TradeModelCell','TradeModelCell'), 'IAmountGenerator'),
+ (('Products.ERP5.Document.TradeModelCell','TradeModelCell'), 'IVariated'),
+ (('Products.ERP5.Document.TradeModelLine','TradeModelLine'), 'IAmountGenerator'),
+ (('Products.ERP5.Document.TradeModelLine','TradeModelLine'), 'IVariated'),
+ (('Products.ERP5.Document.TradeModelPath','TradeModelPath'), 'IArrowBase'),
+ (('Products.ERP5Legacy.Document.TradeModelRule','TradeModelRule'), 'IPredicate'),
+ (('Products.ERP5Legacy.Document.TradeModelRule','TradeModelRule'), 'IRule'),
+ (('Products.ERP5.Document.Transformation','Transformation'), 'IAmountGenerator'),
+ (('Products.ERP5.Document.Transformation','Transformation'), 'IVariated'),
+ (('Products.ERP5Legacy.Document.TransformationRule','TransformationRule'), 'IPredicate'),
+ (('Products.ERP5Legacy.Document.TransformationRule','TransformationRule'), 'IRule'),
+ (('Products.ERP5.Document.TransformedResource','TransformedResource'), 'IVariated'),
#IDocument
- (('Products.ERP5Type.Document.Document', 'Document'), 'IDocument'),
- (('Products.ERP5Type.Document.Image', 'Image'), 'IDocument'),
- (('Products.ERP5Type.Document.File', 'File'), 'IDocument'),
- (('Products.ERP5Type.Document.OOoDocument', 'OOoDocument'), 'IDocument'),
- (('Products.ERP5Type.Document.TextDocument', 'TextDocument'), 'IDocument'),
- (('Products.ERP5Type.Document.EmailDocument', 'EmailDocument'), 'IDocument'),
- (('Products.ERP5Type.Document.Event', 'Event'), 'IDocument'),
+ (('Products.ERP5.Document.Document', 'Document'), 'IDocument'),
+ (('Products.ERP5.Document.Image', 'Image'), 'IDocument'),
+ (('Products.ERP5.Document.File', 'File'), 'IDocument'),
+ (('Products.ERP5OOo.Document.OOoDocument', 'OOoDocument'), 'IDocument'),
+ (('Products.ERP5.Document.TextDocument', 'TextDocument'), 'IDocument'),
+ (('Products.ERP5.Document.EmailDocument', 'EmailDocument'), 'IDocument'),
+ (('Products.ERP5.Document.Event', 'Event'), 'IDocument'),
# IAmountList
(('Products.ERP5.AggregatedAmountList', 'AggregatedAmountList'), 'IAmountList'),
]
@@ -84,14 +84,14 @@ addTestMethodDynamically(TestERP5Interfa
for failing_method in [
'test_Products.ERP5.AggregatedAmountList_AggregatedAmountList_implements_IAmountList',
- 'test_Products.ERP5Type.Document.BusinessLink_BusinessLink_implements_IBusinessLink',
- 'test_Products.ERP5Type.Document.BusinessLink_BusinessLink_implements_ICategoryAccessProvider',
- 'test_Products.ERP5Type.Document.TradeModelCell_TradeModelCell_implements_IVariated',
- 'test_Products.ERP5Type.Document.TradeModelLine_TradeModelLine_implements_IVariated',
- 'test_Products.ERP5Type.Document.TradeModelRule_TradeModelRule_implements_IRule',
- 'test_Products.ERP5Type.Document.TransformationRule_TransformationRule_implements_IRule',
- 'test_Products.ERP5Type.Document.Transformation_Transformation_implements_IVariated',
- 'test_Products.ERP5Type.Document.TransformedResource_TransformedResource_implements_IVariated',
+ 'test_Products.ERP5.Document.BusinessLink_BusinessLink_implements_IBusinessLink',
+ 'test_Products.ERP5.Document.BusinessLink_BusinessLink_implements_ICategoryAccessProvider',
+ 'test_Products.ERP5.Document.TradeModelCell_TradeModelCell_implements_IVariated',
+ 'test_Products.ERP5.Document.TradeModelLine_TradeModelLine_implements_IVariated',
+ 'test_Products.ERP5Legacy.Document.TradeModelRule_TradeModelRule_implements_IRule',
+ 'test_Products.ERP5Legacy.Document.TransformationRule_TransformationRule_implements_IRule',
+ 'test_Products.ERP5.Document.Transformation_Transformation_implements_IVariated',
+ 'test_Products.ERP5.Document.TransformedResource_TransformedResource_implements_IVariated',
]:
setattr(TestERP5Interfaces, failing_method,
expectedFailure(getattr(TestERP5Interfaces,failing_method)))
Modified: erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py?rev=40001&r1=40000&r2=40001&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py [utf8] (original)
+++ erp5/trunk/products/ERP5Type/tests/testERP5TypeInterfaces.py [utf8] Sun Nov 7 04:11:14 2010
@@ -45,9 +45,9 @@ implements_tuple_list = [
'IActionContainer'),
(('Products.ERP5Type.ERP5Type', 'ERP5TypeInformation'),
'ILocalRoleAssignor'),
- (('Products.ERP5Type.Document.ActionInformation', 'CacheableAction'),
+ (('Products.ERP5Type.Core.ActionInformation', 'CacheableAction'),
'IAction'),
- (('Products.ERP5Type.Document.RoleInformation', 'RoleInformation'),
+ (('Products.ERP5Type.Core.RoleInformation', 'RoleInformation'),
'ILocalRoleGenerator'),
]
More information about the Erp5-report
mailing list