update tests

This commit is contained in:
Dane Springmeyer 2014-04-24 21:30:54 -07:00
parent 3339255b18
commit 3bcf54a693
2 changed files with 1 additions and 2 deletions

View file

@ -133,7 +133,6 @@ def test_shield_symbolizer_init():
eq_(s.face_name, 'DejaVu Sans Bold')
eq_(s.allow_overlap, False)
eq_(s.fill, mapnik.Color('#000000'))
eq_(s.force_odd_labels, False)
eq_(s.halo_fill, mapnik.Color('rgb(255,255,255)'))
eq_(s.halo_radius, 0)
eq_(s.label_placement, mapnik.label_placement.POINT_PLACEMENT)

View file

@ -278,7 +278,7 @@ if 'postgis' in mapnik.DatasourceCache.plugin_names() \
except StopIteration:
pass
eq_(feature,None)
eq_(ds.describe()['geometry_type'],mapnik.DataGeometryType.Collection)
eq_(ds.describe()['geometry_type'],None)
def test_geometry_detection():
ds = mapnik.PostGIS(dbname=MAPNIK_TEST_DBNAME,table='test',