diff --git a/product/ERP5Type/tests/testClassTool.py b/product/ERP5Type/tests/testClassTool.py index ef3c8320b2f691872d3ce5c6aff1ba4e982abb6d..c01bbe4539d8a136a500340a9e8455cdece90213 100644 --- a/product/ERP5Type/tests/testClassTool.py +++ b/product/ERP5Type/tests/testClassTool.py @@ -131,8 +131,10 @@ class TestClassTool(ERP5TypeTestCase): # This tests checks that Documentation Helper works with propertysheets # that define their categories using expressions. from Products.ERP5Type.Document.Movement import Movement + from Products.ERP5Type.Document.Delivery import Delivery from Products.CMFCore.Expression import Expression - movement = Movement('testing_id').__of__(self.getPortal()) + movement = Movement('dummy_movement').__of__( + Delivery('dummy_delivery').__of__(self.portal)) # This test relies on the fact that Movement class has categories defined # by an expression. category_list = []