From 3bcf54a6934b4674e903841a0951f40e8830723c Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 24 Apr 2014 21:30:54 -0700 Subject: [PATCH] update tests --- tests/python_tests/object_test.py | 1 - tests/python_tests/postgis_test.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/python_tests/object_test.py b/tests/python_tests/object_test.py index 922c8e5e8..cc48df60e 100644 --- a/tests/python_tests/object_test.py +++ b/tests/python_tests/object_test.py @@ -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) diff --git a/tests/python_tests/postgis_test.py b/tests/python_tests/postgis_test.py index d90bcb714..2e3a10782 100644 --- a/tests/python_tests/postgis_test.py +++ b/tests/python_tests/postgis_test.py @@ -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',