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

by Mikko Ohtamaa last modified Dec 30, 2008 03:08 PM

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.