+ update test to include unicode
This commit is contained in:
parent
b5f2c8f9f9
commit
b8c43b5026
1 changed files with 5 additions and 0 deletions
|
@ -21,6 +21,11 @@ def test_parameter_string():
|
|||
eq_(p[0],'key')
|
||||
eq_(p[1],'value')
|
||||
|
||||
def test_parameter_unicode():
|
||||
p = mapnik.Parameter('key',u'value')
|
||||
eq_(p[0],'key')
|
||||
eq_(p[1],u'value')
|
||||
|
||||
def test_parameter_integer():
|
||||
p = mapnik.Parameter('int',sys.maxint)
|
||||
eq_(p[0],'int')
|
||||
|
|
Loading…
Add table
Reference in a new issue