[Zope-CMF] CMF 2.2 release?
Charlie Clark
charlie at begeistert.org
Tue Nov 10 16:41:29 EST 2009
Am 10.11.2009, 21:06 Uhr, schrieb David Glick <davidglick at groundwire.org>:
> I assume the test are still not set up correctly but comparing them with
> other browser tests I can't see why.
> You may need to import zope.app.schema in your test setup to activate
> the ZCA-aware vocab registry.
I tried that but it doesn't make any difference and I can mimic creating
the vocbulary manually in the test without a problem.
But I just double-checked the document tests as I know they have a
vocabulary and I noticed that the vocabulary registration has to be
handled in the test setup. So my tests now pass!
test_btreefolder fails for the same reason as it is actually calling my
new view so I've added the vocabulary registration to that test. I've done
this by importing the registration functions from test_document to avoid
copy & paste. Is this okay?
Charlie
--
Charlie Clark
Helmholtzstr. 20
Düsseldorf
D- 40215
Tel: +49-211-938-5360
GSM: +49-178-782-6226
More information about the Zope-CMF
mailing list