()
| 723 | |
| 724 | |
| 725 | def test_execute_tasks_in_graph(): |
| 726 | dsk = [ |
| 727 | t1 := Task("key-1", func, "a", "b"), |
| 728 | t2 := Task("key-2", func2, t1.ref(), "c"), |
| 729 | t3 := Task("key-3", func, "foo", "bar"), |
| 730 | Task("key-4", func, t3.ref(), t2.ref()), |
| 731 | ] |
| 732 | res = execute_graph(dsk, keys=["key-4"]) |
| 733 | assert len(res) == 1 |
| 734 | assert res["key-4"] == "foo-bar-a-b=c" |
| 735 | |
| 736 | |
| 737 | def test_deterministic_tokenization_respected(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…