()
| 306 | strict=False, |
| 307 | ) |
| 308 | def 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 | |
| 323 | def test_cytoscape_graph(tmpdir): |
nothing calls this directly
no test coverage detected