Commit 64f1df35 authored by Jérome Perrin's avatar Jérome Perrin

fix missing import



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8946 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9e6f697f
......@@ -39,6 +39,7 @@ os.environ.setdefault('EVENT_LOG_SEVERITY', '-300')
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from AccessControl.SecurityManagement import newSecurityManager
from ZopeTestCase import _print
from DateTime import DateTime
class TestInvoiceVAT(ERP5TypeTestCase):
......@@ -93,7 +94,7 @@ class TestInvoiceVAT(ERP5TypeTestCase):
activity_tool = self.getPortal().portal_activities
for message in activity_tool.getMessageList():
activity_tool.manageCancel(message.object_path, message.method_id)
ZopeTestCase._print('\nCancelling active message %s.%s()\n'
_print('\nCancelling active message %s.%s()\n'
% (message.object_path, message.method_id) )
get_transaction().commit()
......
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