Personal tools
You are here: Home Documentation Error References Product's initialize() is not called in unit tests
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

Product's initialize() is not called in unit tests

Warning: This item is marked as outdated.

This Error Reference applies to: Plone 2.1.x, Plone 2.0.x
This Error Reference is intended for: Any audience.

A product's initialize() in __init__.py is not called in unit testing, leading to all sorts of missing type errors

You forgot to call ZopeTestCase.installProduct('YourProduct') in your test code for all products used in unit testing.

by Mikko Ohtamaa last modified January 16, 2006 - 00:02
Contributors: Mikko Ohtamaa
All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by