Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

also test return value from add_wkb

  • Loading branch information...
commit 537ce09336bc0819f404fbe069e72e68d6e855f0 1 parent e36081a
Dane Springmeyer springmeyer authored
Showing with 5 additions and 1 deletion.
  1. +5 −1 tests/python_tests/geometry_io_test.py
6 tests/python_tests/geometry_io_test.py
View
@@ -59,7 +59,11 @@ def setup():
def test_wkb_parsing():
for wkb in wkbs:
path = mapnik.Path()
- path.add_wkb(unhexlify(wkb[2]))
+ success = path.add_wkb(unhexlify(wkb[2]))
+ if wkb[0] > 0:
+ eq_(success,True)
+ else:
+ eq_(success,False)
eq_(wkb[0],len(path))
def compare_wkb_from_wkt(wkt,num=None):
Please sign in to comment.
Something went wrong with that request. Please try again.