Failling testcases

Didrik Pinte dpinte at dipole-consulting.com
Mon Jul 18 09:43:43 CEST 2011


On 15 Jul 2011, at 15:17, Bjoern Ricks wrote:

> Hi,
> 
> today I did fix the thuban unit test to be able to run again. Currently 
> (without postgis and gdal tests) only two of them are failing.
> 
> ======================================================================
> FAIL: Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Column
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> 
> File "/home/bricks/source/greater/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", 
> line 200, in test_Column
>    self.assertEquals(self.table.Column(0).type, FIELDTYPE_INT)
> AssertionError: 'double' != 'int'
> 
> ======================================================================
> FAIL: Extensions.ogr.test.test_OGRShapestore.TestOGRTable.test_Columns
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> 
> File "/home/bricks/source/greater/thuban/test/../Extensions/ogr/test/test_OGRShapestore.py", 
> line 194, in test_Columns
>    self.assertEquals(self.table.Columns()[0].type, FIELDTYPE_INT)
> AssertionError: 'double' != 'int'
> 
> Because I don't have enough knowledge about the orgshapes I am not able to fix 
> them at the moment. Any hints?

The answer is there :

http://wald.intevation.org/tracker/index.php?func=detail&aid=91&group_id=6&atid=105


-- Didrik



More information about the Thuban-devel mailing list

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