1 Check that all tests are found
3 >>> from paula.testing.utils import saneimport, pkgpath, recursedir
4 >>> from paula.testing.utils import ispackagedir
5 >>> from paula.testing.testing import scanfordoctest
6 >>> pkg = saneimport('paula.testing')
7 >>> path = pkgpath(pkg)
8 >>> l1 = recursedir(path,cond=ispackagedir,filefilter=scanfordoctest)
9 >>> interact( locals())
12 A sample integration test, our zcml should have been loaded
16 # >>> from paula.testing.module import ISomeObjectUtility
18 # >>> u = getUtility(ISomeObjectUtility)
20 # 'some object utility'
23 Thx to jensens you can get an interactive prompt in your tests
24 (waiting to be packaged as an egg!)
26 >>> interact( locals() )