Add a (currently) failing test for #1420

This commit is contained in:
Dane Springmeyer 2012-08-21 14:27:57 -07:00
parent 9539ce96a6
commit 0c6030303d

View file

@ -30,6 +30,11 @@ def test_line_symbolizer_stroke_reference():
eq_(l.stroke.opacity,1.0)
assert_almost_equal(l.stroke.width,0.1)
# https://github.com/mapnik/mapnik/issues/1420
def test_text_symbolizer_init():
s = mapnik.TextSymbolizer()
eq_(s.text_transform, mapnik.text_transform.NONE)
# ShieldSymbolizer initialization
def test_shieldsymbolizer_init():
s = mapnik.ShieldSymbolizer(mapnik.Expression('[Field Name]'), 'DejaVu Sans Bold', 6, mapnik.Color('#000000'), mapnik.PathExpression('../data/images/dummy.png'))