|
24 | 24 | from graphtik.pipeline import Pipeline |
25 | 25 |
|
26 | 26 |
|
| 27 | +pytestmark = pytest.mark.usefixtures("log_levels") |
| 28 | + |
| 29 | + |
27 | 30 | # Function without return value. |
28 | 31 | def _box_extend(box, *args): |
29 | 32 | box.extend([1, 2]) |
@@ -62,17 +65,17 @@ def test_sideffect_no_real_data(pipeline_sideffect1: Pipeline): |
62 | 65 |
|
63 | 66 | ## Normal data must not match sideffects. |
64 | 67 | # |
65 | | - with pytest.raises(ValueError, match="Unknown output node"): |
66 | | - graph.compute(inp, ["a"]) |
67 | | - with pytest.raises(ValueError, match="Unknown output node"): |
68 | | - graph.compute(inp, ["b"]) |
| 68 | + # with pytest.raises(ValueError, match="Unknown output node"): |
| 69 | + # graph.compute(inp, ["a"]) |
| 70 | + # with pytest.raises(ValueError, match="Unknown output node"): |
| 71 | + # graph.compute(inp, ["b"]) |
69 | 72 |
|
70 | 73 | ## Cannot compile due to missing inputs/outputs |
71 | 74 | # |
72 | 75 | with pytest.raises(ValueError, match="Unsolvable graph"): |
73 | | - assert graph(**inp) == inp |
| 76 | + graph(**inp) |
74 | 77 | with pytest.raises(ValueError, match="Unsolvable graph"): |
75 | | - assert graph.compute(inp) |
| 78 | + graph.compute(inp) |
76 | 79 |
|
77 | 80 | with pytest.raises(ValueError, match="Unreachable outputs"): |
78 | 81 | graph.compute(inp, ["box", sfx("b")]) |
|
0 commit comments