diff --git a/tests/core/tools/test_runner/test_yaml_runner.py b/tests/core/tools/test_runner/test_yaml_runner.py index 8709fecab..4b19a7aba 100644 --- a/tests/core/tools/test_runner/test_yaml_runner.py +++ b/tests/core/tools/test_runner/test_yaml_runner.py @@ -162,13 +162,13 @@ def test_extensions_order() -> None: ) # extensions order is ignored in cache -@pytest.mark.skip(reason="Deprecated node constructor") def test_performance_graph_option_output() -> None: + testFile = TestFile.from_parent(parent=None) test = { "input": {"salary": {"2017-01": 2000}}, "output": {"salary": {"2017-01": 2000}}, } - test_item = TestItem(test) + test_item = TestItem.from_parent(parent=testFile, test=test) test_item.options = {"performance_graph": True} paths = ["./performance_graph.html"]