[GRASS-dev] testsuite problems (t.connect)

Luca Delucchi lucadeluge at gmail.com
Fri Feb 19 05:03:55 PST 2016


On 18 February 2016 at 15:44, Vaclav Petras <wenzeslaus at gmail.com> wrote:
>
>
> The classmethods don't have self but they have cls. These are the variables
> you can set in the body of the class, e.g. mapsets_to_remove in the
> test_distr_tgis_db_raster3d.py test [1]. You can assign the value in the
> setUpClass method and use it in tearDownClass through the cls reference,
> e.g. cls.mapsets_to_remove.append(mapset_name).
>

thanks a lot, I'm blind :-), I looked that code before write this email.

However fixed in r67888.

> [1]
> https://trac.osgeo.org/grass/browser/grass/trunk/temporal/t.connect/testsuite/test_distr_tgis_db_raster3d.py?rev=67878#L19

-- 
ciao
Luca

http://gis.cri.fmach.it/delucchi/
www.lucadelu.org


More information about the grass-dev mailing list