From 7076ff3722003a5521af4a049e720f386c1c58f8 Mon Sep 17 00:00:00 2001 From: sandcha Date: Mon, 25 Nov 2024 19:24:09 +0100 Subject: [PATCH] Fix syntax and remove skip on test_performance_graph_option_output --- tests/core/tools/test_runner/test_yaml_runner.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"]