mapnik/tests/python_tests/font_test.py

14 lines
324 B
Python
Raw Normal View History

#!/usr/bin/env python
from nose.tools import *
import mapnik2, pickle
# Tests that exercise fonts.
# Trac Ticket #31
# Todo: Add logic to use this TextSymbolizer in a rendering
#@raises(UserWarning)
#def test_invalid_font():
# ts = mapnik2.TextSymbolizer('Name', 'Invalid Font Name', int(8), mapnik2.Color('black'))