Commit 48dd98e0 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

create browser_id_manager that is required for erp5_ooo_import test.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41619 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 87bc04bd
......@@ -28,6 +28,7 @@
import os
import unittest
import transaction
from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5TypeTestCase
......@@ -46,6 +47,12 @@ class FunctionalTestRunner(FunctionalTestRunnerBase):
os.environ['erp5_tests_portal_id'] = 'erp5_portal'
class TestZelenium(ERP5TypeTestCase):
def afterSetUp(self):
# create browser_id_manager
if not "browser_id_manager" in self.portal.objectIds():
self.portal.manage_addProduct['Sessions'].constructBrowserIdManager()
transaction.commit()
def getBusinessTemplateList(self):
"""
Return the list of business templates.
......
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