Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/e/r/erp5-HEAD/product/ERP5Type/tests/testSessionTool.py   erp5(Download)
  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, \
                      attr_1 = newTempOrder(portal_sessions, '1'), \
                      attr_2 = newTempOrder(portal_sessions, '2'),)