pygal.test.test_graph module

Generate tests for different chart types with different data

pygal.test.test_graph.test_empty_lists(Chart)[source]

Test chart rendering with an empty serie

pygal.test.test_graph.test_empty_lists_with_nones(Chart)[source]

Test chart rendering with a None filled serie

pygal.test.test_graph.test_ipython_notebook(Chart, datas)[source]

Test ipython notebook

pygal.test.test_graph.test_iterable_types(Chart)[source]

Test serie as various iterable

Test values with links

pygal.test.test_graph.test_long_title(Chart, datas)[source]

Test chart rendering with a long title

pygal.test.test_graph.test_metadata(Chart)[source]

Test metadata values

pygal.test.test_graph.test_multi_render(Chart, datas)[source]

Check that a chart always render the same

pygal.test.test_graph.test_no_data_with_empty_serie(Chart)[source]

Test no data for empty serie

pygal.test.test_graph.test_no_data_with_empty_series(Chart)[source]

Test no data for 2 empty series

pygal.test.test_graph.test_no_data_with_list_of_none(Chart)[source]

Test no data for a None containing serie

pygal.test.test_graph.test_no_data_with_lists_of_nones(Chart)[source]

Test no data for several None containing series

pygal.test.test_graph.test_no_data_with_no_values(Chart)[source]

Test no data

pygal.test.test_graph.test_no_data_with_no_values_with_include_x_axis(Chart)[source]

Test no data and include_x_axis

pygal.test.test_graph.test_no_data_with_none(Chart)[source]

Test no data for a None containing serie

pygal.test.test_graph.test_non_iterable_value(Chart)[source]

Test serie as non iterable

pygal.test.test_graph.test_only_one_value(Chart)[source]

Test chart rendering with only one value

pygal.test.test_graph.test_only_one_value_intrp(Chart)[source]

Test interpolated chart rendering with only one value

pygal.test.test_graph.test_only_one_value_log(Chart)[source]

Test logarithmic chart rendering with only one value

pygal.test.test_graph.test_render_to_file(Chart, datas)[source]

Test in file rendering

pygal.test.test_graph.test_render_to_png(Chart, datas)[source]

Test in file png rendering

pygal.test.test_graph.test_secondary(Chart)[source]

Test secondary chart

pygal.test.test_graph.test_sparkline(Chart, datas)[source]

Test sparkline

pygal.test.test_graph.test_unicode_labels_decode(Chart)[source]

Test unicode labels

pygal.test.test_graph.test_unicode_labels_python2(Chart)[source]

Test unicode labels in python 2

pygal.test.test_graph.test_unicode_labels_python3(Chart)[source]

Test unicode labels in python 3

pygal.test.test_graph.test_values_by_dict(Chart)[source]

Test serie as dict