From 6787a4491ebe7ade78f278956c68dec186bed0e3 Mon Sep 17 00:00:00 2001 From: Robin Andersson Date: Mon, 3 Feb 2025 14:28:46 -0500 Subject: [PATCH] Fixed typo in variable name --- tests/test_io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_io.py b/tests/test_io.py index 4f509771..bbb38211 100644 --- a/tests/test_io.py +++ b/tests/test_io.py @@ -1963,7 +1963,7 @@ def test_cpu_time(self): res = fmu.simulate(options = opts) rdb = ResultDymolaBinary(opts["result_file_name"]) - cpu_time = rdb.get_variable_data('cpu_time').x + cpu_time = rdb.get_variable_data(f"{DIAGNOSTICS_PREFIX}cpu_time").x first_value = -1 # initialize to any negative value since the first cpu_time value is 0.0