> I'm trying to create doctests and I'm not able to get
> my view with getMultiAdapter. I can't find why...
> Do I have to explicitly call XMLConfig or something
> like that? What is wrong?
I've found that modifying setUp function like
below helped, an my test now executes properly:

def setUp(test):
    XMLConfig('meta.zcml', zope.component)()
    XMLConfig('meta.zcml', zope.app)()
    XMLConfig('configure.zcml', zope.app)()
    XMLConfig('configure.zcml', basic)()

Although I'm still not sure if this is correct way.

Maciej Wisniowski
Zope3-users mailing list

Reply via email to