Re: [Zope3-Users] Tests are not working Was: Access to request in content object and object path in doctests

2007-01-29 Thread Maciej Wisniowski
> 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 setU

Re: [Zope3-Users] Tests are not working Was: Access to request in content object and object path in doctests

2007-01-28 Thread Maciej Wisniowski
Marius, thanks for your answers, it was helpful :) Although I still have some silly problems with tests... I've created simplest possible structure with view, content class and interface and a bit of zcml to register view as index.html. This works in Zope because after creating content object I'm