()
| 134 | |
| 135 | |
| 136 | def test_get_dependencies_task(): |
| 137 | dsk = {"x": 1, "y": 2, "z": ["x", [(inc, "y")]]} |
| 138 | assert get_dependencies(dsk, task=(inc, "x")) == {"x"} |
| 139 | assert get_dependencies(dsk, task=(inc, "x"), as_list=True) == ["x"] |
| 140 | |
| 141 | |
| 142 | def test_get_dependencies_nothing(): |
nothing calls this directly
no test coverage detected