

def test_render_with_many(self):
    renderer = GeoJsonRenderer()
    result = json.loads(self.render([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_with_many/VarMisuse@22/28 `renderer`->`self`