def testBounds(self):
    g = geom.LineString((1, 1), (10, 10))
    f = feature.Feature({'geom': g}, 'fid')
    assert (1 == f.bounds.west)
    assert (1 == f.bounds.south)
    assert (10 == f.bounds.east)
    assert (10 == f.bounds.north)
def testBounds(self):
    g = geom.LineString((1, 1), (10, 10))
    f = feature.Feature({'geom': g}, 'fid')
    assert (1 == f.bounds.west)
    assert (1 == f.bounds.south)
    assert (10 == f.bounds.east)
    assert (10 == f.bounds.north)