fix test behavior with postgis < 2.x
This commit is contained in:
parent
23878cf03e
commit
46b3bfb547
1 changed files with 2 additions and 1 deletions
|
@ -497,7 +497,8 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \
|
|||
|
||||
def test_that_64bit_int_fields_work():
|
||||
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,
|
||||
table='test8')
|
||||
table='test8',
|
||||
geometry_field='geom')
|
||||
eq_(len(ds.fields()),2)
|
||||
eq_(ds.fields(),['gid','int_field'])
|
||||
eq_(ds.field_types(),['int','int'])
|
||||
|
|
Loading…
Add table
Reference in a new issue