Move import of dynamically generated name so it already exist when imported

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@30827 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 71070d9e
......@@ -30,7 +30,6 @@ import unittest
from Testing import ZopeTestCase
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
from Products.ERP5Type.Document import newTempOrder
from AccessControl.SecurityManagement import newSecurityManager
from zLOG import LOG
from Products.ERP5Type.tests.Sequence import SequenceList
......@@ -115,6 +114,7 @@ class TestSessionTool(ERP5TypeTestCase):
def stepTestAcquisitionRamSessionStorage(self, sequence=None, \
sequence_list=None, **kw):
from Products.ERP5Type.Document import newTempOrder
portal_sessions = self.getPortal().portal_sessions
session = portal_sessions.newContent(
self.session_id, \
......
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