bernhard: thuban/Extensions/svgexport/test test_svgmapwriter.py, 1.11, 1.12

Bernhard Reiter bernhard at intevation.de
Mon Dec 13 16:51:58 CET 2004


On Mon, Dec 13, 2004 at 03:57:53PM +0100, Bernhard Herzog wrote:

> > +class TestDrawSplines(TestVirtualDC):
> 
> First, do you realise that you inflate the number of tests by deriving
> from a baseclass that defines test_* methods?  

Arg, no!
What a stupid mistake, good that you have noticed it.

> All tests defined in the
> base class are run and counted twice!  That kind of thing can be quite
> useful but it doesn't do any good in this case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20041213/dc466299/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)