MCPcopy Create free account
hub / github.com/dask/dask / test_dot_graph_defaults

Function test_dot_graph_defaults

dask/tests/test_dot.py:308–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

306 strict=False,
307)
308def test_dot_graph_defaults():
309 # Test with default args.
310 default_name = "mydask"
311 default_format = "png"
312 target = ".".join([default_name, default_format])
313
314 ensure_not_exists(target)
315 try:
316 result = dot_graph(dsk)
317 assert os.path.isfile(target)
318 assert isinstance(result, Image)
319 finally:
320 ensure_not_exists(target)
321
322
323def test_cytoscape_graph(tmpdir):

Callers

nothing calls this directly

Calls 3

ensure_not_existsFunction · 0.90
dot_graphFunction · 0.90
joinMethod · 0.45

Tested by

no test coverage detected