

def test_render(self):
    renderer = KmlRenderer()
    result = renderer.render([self.contrib])
    rendered = render_to_string('geometries/placemarks.kml', {
        'data': [renderer.contrib],
    })
    self.assertEqual(result, rendered)

dataset/ETHPy150Open ExCiteS/geokey/geokey/contributions/tests/observations/test_renderers.py KmlRendererTest.test_render/VarMisuse@40/57 `self`->`renderer`