ewokscore.tests.test_examples.assert_convert_graph#
- ewokscore.tests.test_examples.assert_convert_graph(convert_graph, ewoksgraph, tmpdir, path_format=None, 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:
path_format (
Union[Type[str],Type[Path],None])representations (
Optional[Iterable[Tuple[dict,dict,Optional[str]]]])