> 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): setup.placelessSetUp() setup.setUpTraversal() 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 Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users