On 30.03.10 08:20, Suresh V. wrote: > Mikko Ohtamaa wrote: >> Try this: >> http://plonemanual.twinapex.fi/testing_and_debugging/functional_testing.html#functional-test-skeleton > > Cool! Worked like a charm. Can this behavior be made the default in > PloneTestCase.FunctionalTestCase?
PTC doesn't know about testbrowser, and `handleErrors = False` is not always what you want either. so i think the defaults here are ok. apart from that, i put alias tb print self.portal.error_log.getLogEntries()[-1]['tb_text'] into my `~/.pdbrc`, so after having set `handleErrors = False`, i can simply type "tb" at the pdb prompt to print out the offending traceback. hth, andi -- zeidler it consulting - http://zitc.de/ - [email protected] friedelstraße 31 - 12047 berlin - telefon +49 30 25563779 pgp key at http://zitc.de/pgp - http://wwwkeys.de.pgp.net/ plone 4.0 alpha released! -- http://plone.org/products/plone/ _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
