

def test_render_many(self):
    renderer = GeoJsonRenderer()
    result = renderer.render_many([self.contrib])
    self.assertEqual(result.get('type'), 'FeatureCollection')
    self.assertEqual(len(result.get('features')), 1)

dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/tests/observations/test_renderers.py GeoJsonRendererTest.test_render_many/original