Hi Gary, Thanks for that. For those who follow
tests.py:: import unittest from zope.testing import doctest from zope.testing import module name = 'tfws.cart.README' def setUp(test): module.setUp(test, name) def tearDown(test): module.tearDown(test, name) def test_suite(): return unittest.TestSuite(( doctest.DocFileSuite('README.txt', setUp=setUp, tearDown=tearDown, optionflags=doctest.ELLIPSIS ), )) if __name__ == '__main__': unittest.main(defaultTest='test_suite') On Sun, 2006-07-23 at 20:59 -0400, Gary Poster wrote: > On Jul 23, 2006, at 6:59 PM, Darryl Cousins wrote: > > > Hi, > > > > I've have a problem with the following and I hope someone can shed > > some > > light for me > ... > > Yup, you need to handle a case like that specially. > > See zope.testing.module > > Gary _______________________________________________ Zope3-users mailing list Zope3-users@zope.org http://mail.zope.org/mailman/listinfo/zope3-users