def testReadJSON(self):
    st = '{"type": "Feature", "properties": {"x": 1, "y": 1.1 }, "id": "fid"}'
    f = feature.readJSON(st)
    assert f
    assert (1 == f['x'])
    assert (1.1 == f['y'])
    assert ('fid' == f.id)
def testReadJSON(self):
    st = '{"type": "Feature", "properties": {"x": 1, "y": 1.1 }, "id": "fid"}'
    f = feature.readJSON(st)
    assert f
    assert (1 == f['x'])
    assert (1.1 == f['y'])
    assert ('fid' == f.id)