def test_no_data_with_no_values(Chart):
 chart = Chart()
 q = chart.render_pyquery()
 assert (q('.text-overlay text').text() == 'No data')

def test_no_data_with_no_values ( Chart ) : chart = Chart ( ) q = chart . render_pyquery ( ) assert ( q ( '.text-overlay text' ) . text ( ) == 'No data' )
test no data .