test fontset non-existance

This commit is contained in:
Dane Springmeyer 2011-12-20 12:40:14 -08:00
parent bbeeaada4d
commit 58c00c844a
2 changed files with 2 additions and 4 deletions

View file

@ -71,8 +71,7 @@ def test_shieldsymbolizer_init():
eq_(s.transform, 'matrix(1, 0, 0, 1, 0, 0)')
raise Todo("FontSet pickling support needed: http://trac.mapnik.org/ticket/348")
eq_(s.fontset, '')
eq_(len(s.fontset.names), 0)
# ShieldSymbolizer missing image file

View file

@ -118,8 +118,7 @@ def test_textsymbolizer_pickle():
# r2300
eq_(s.minimum_padding, 0.0)
raise Todo("FontSet pickling support needed: http://trac.mapnik.org/ticket/348")
eq_(ts.fontset, ts2.fontset)
eq_(len(ts.fontset.names), 0)
def test_map_pickle():