def test_multi_render(Chart, datas):
 chart = Chart()
 chart = make_data(chart, datas)
 svg = chart.render()
 for i in range(2):
  assert (svg == chart.render())

def test_multi_render ( Chart , datas ) : chart = Chart ( ) chart = make_data ( chart , datas ) svg = chart . render ( ) for i in range ( 2 ) : assert ( svg == chart . render ( ) )
check that a chart always render the same .