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') ...@@ -39,6 +39,7 @@ os.environ.setdefault('EVENT_LOG_SEVERITY', '-300')
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from ZopeTestCase import _print
from DateTime import DateTime from DateTime import DateTime
class TestInvoiceVAT(ERP5TypeTestCase): class TestInvoiceVAT(ERP5TypeTestCase):
...@@ -93,8 +94,8 @@ class TestInvoiceVAT(ERP5TypeTestCase): ...@@ -93,8 +94,8 @@ class TestInvoiceVAT(ERP5TypeTestCase):
activity_tool = self.getPortal().portal_activities activity_tool = self.getPortal().portal_activities
for message in activity_tool.getMessageList(): for message in activity_tool.getMessageList():
activity_tool.manageCancel(message.object_path, message.method_id) 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) ) % (message.object_path, message.method_id) )
get_transaction().commit() get_transaction().commit()
def login(self, quiet=0, run=1): def login(self, quiet=0, run=1):
......
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