ewokscore.tests.test_examples.assert_convert_graph#

ewokscore.tests.test_examples.assert_convert_graph(convert_graph, ewoksgraph, tmpdir, representations=None)[source]#

All graph representations need to be known by convert_graph. It will always test the basic representations (e.g. json and yaml) in addition to the provided representations.

The tuple-items in representations are: load options, save options, file extension.

Parameters:

representations (Optional[Iterable[Tuple[dict, dict, Optional[str]]]]) –