jonathan: thuban/test test_baserenderer.py, 1.10, 1.11 test_layer.py, 1.34, 1.35

Jonathan Coles jonathan at jpcoles.com
Thu Feb 17 14:20:03 CET 2005


Am Donnerstag, den 17.02.2005, 13:54 +0100 schrieb Bernhard Herzog:

> This change breaks the test suite because Thuban.versions imports
> wxPython which requires X.  Maybe it works with wxPython 2.5 where some
> initialization is delayed until wx.App is created and the test suite
> doesn't do that.

gah! i had even run across this. no, it doesn't happen under 2.5. 

do you have any ideas what can be done about depending on the wxPython
version?

btw, if baserenderer shouldn't depend on any gui, perhaps it should be
in Model/? although some things in the tests do assume a gui of some
sort...at least a DC... maybe there should be two different test suites:
one for purely Model code and one for UI code.

--jonathan

-- 
=====================================================================
 Jonathan Coles                               http://www.jpcoles.com
 jonathan at jpcoles.com                    GnuPG Key: /gpg_pub_key.asc
=====================================================================




More information about the Thuban-devel mailing list

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