artemp/trac2github — Issue #825: failing tests for r3158 textplacement
Author: artemp
Created: 2011-10-09 20:52:27+00:00
State: open
Labels: Core_Library

{{{

======================================================================
ERROR: python_tests.filter_test.test_filter_init
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/dane/projects/mapnik-dev/textplacement/tests/python_tests/filter_test.py", line 56, in test_filter_init
mapnik2.load_map_from_string(m,map_)
RuntimeError: Unknown symbolizer '' in style 's2' in map ''

======================================================================
ERROR: python_tests.load_map_test.test_good_files('../data/good_maps/background-image.xml',)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/dane/projects/mapnik-dev/textplacement/tests/python_tests/load_map_test.py", line 19, in assert_loads_successfully
mapnik2.load_map(m, file, strict)
RuntimeError: Unknown child node in 'Map': ''

======================================================================
FAIL: python_tests.object_test.test_shieldsymbolizer_init
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/dane/projects/mapnik-dev/textplacement/tests/python_tests/object_test.py", line 17, in test_shieldsymbolizer_init
eq_(str(s.name), str(mapnik2.Expression('[Field Name]')))
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 'None' != '[FieldName]'

======================================================================
FAIL: python_tests.object_test.test_textsymbolizer_init
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/dane/projects/mapnik-dev/textplacement/tests/python_tests/object_test.py", line 268, in test_textsymbolizer_init
eq_(str(ts.name), str(mapnik2.Expression('[Field_Name]')))
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 'None' != '[Field_Name]'

======================================================================
FAIL: python_tests.object_test.test_textsymbolizer_pickle
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/case.py", line 186, in runTest
self.test(*self.arg)
File "/Users/dane/projects/mapnik-dev/textplacement/tests/python_tests/object_test.py", line 278, in test_textsymbolizer_pickle
eq_(str(ts.name), str(mapnik2.Expression('[Field_Name]')))
File "/Library/Python/2.6/site-packages/nose-0.11.3-py2.6.egg/nose/tools.py", line 31, in eq_
assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 'None' != '[Field_Name]'

}}}