Failling testcases

Bjoern Ricks bjoern.ricks at intevation.de
Fri Jul 15 15:17:07 CEST 2011


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?

Björn
-- 
Bjoern Ricks |  ++49-541-335083-167  |  http://www.intevation.de/
Intevation GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20110715/e11fdb19/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)