

def test_render_single(self):
    renderer = GeoJsonRenderer()
    result = renderer.render_single(self.contrib)
    self.assertTrue(('geometry' in result))
    self.assertFalse(('geometry' in result.get('location')))

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