[Zope] Re: Installing TextIndexNG3 in ZopeTestCase (long story
short)
Maurits van Rees
m.van.rees at zestsoftware.nl
Mon Feb 4 14:20:38 EST 2008
Peter Bengtsson, on 2008-02-04:
> Now in Design2Mest/test I copied the above lines and wrote a few basic
> tests and now it no longer works!!! TextIndexNG3 complains (again) about
> some parsers not being available. What happened was kind of that none of
> the zcml files of TextIndexNG3 were read or parsed at all.
> The solution to the problem was to rearrange the order of...:
> ZopeTestCase.installProduct('Five')
> ZopeTestCase.installProduct('TextIndexNG3')
> ...to this...:
> ZopeTestCase.installProduct('TextIndexNG3')
> ZopeTestCase.installProduct('Five')
> ...and then it worked.
You may want to try completely removing that line with
installProduct('Five'). If I understand this blog post correctly you
should not need it:
http://bfhammer.blogspot.com/2006/08/i-break-tests-because-i-care.html
--
Maurits van Rees | http://maurits.vanrees.org/
Work | http://zestsoftware.nl/
"This is your day, don't let them take it away." [Barlow Girl]
More information about the Zope
mailing list