Commit cfe440b1 authored by Jean-Paul Smets's avatar Jean-Paul Smets

Changed the order of installation of products so that we can be sure that...

Changed the order of installation of products so that we can be sure that initializeProductDocumentRegistry is invoked after all classes are registered.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28999 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 08e6d7a3
# -*- coding: utf-8 -*-
# Derived from PloneTestCase in Plone.
#
......@@ -129,14 +130,17 @@ ZopeTestCase.installProduct('ERP5Security', quiet=install_product_quiet)
ZopeTestCase.installProduct('VerboseSecurity', quiet=install_product_quiet)
ZopeTestCase.installProduct('Zelenium', quiet=install_product_quiet)
# ERP5
# ERP5 - ERP5Type product is installed last so that
# initializeProductDocumentRegistry is only called
# after all products which need to register their Document
# classes can register them by invoking updateGlobals in __init__
ZopeTestCase.installProduct('CMFActivity', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5Catalog', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5Type', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5Form', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5SyncML', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5Type', quiet=install_product_quiet)
ZopeTestCase.installProduct('CMFCategory', quiet=install_product_quiet)
ZopeTestCase.installProduct('ERP5', quiet=install_product_quiet)
ZopeTestCase.installProduct('ZMySQLDDA', quiet=install_product_quiet)
ZopeTestCase.installProduct('ParsedXML', quiet=install_product_quiet)
......
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