postgis test: fix for postgis < 2.x

This commit is contained in:
Dane Springmeyer 2013-05-22 17:20:17 -07:00
parent 5083a24f89
commit 427308d654

View file

@ -472,7 +472,8 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \
def create_ds():
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,
table='test',
max_size=20)
max_size=20,
geometry_field='geom')
fs = ds.all_features()
def test_threaded_create(NUM_THREADS=100):