From f581549cb69e78da0ac22d80d7e3e5a7c76963c6 Mon Sep 17 00:00:00 2001 From: Jack Davies Date: Fri, 1 Nov 2024 13:18:29 +0000 Subject: [PATCH] update test result after file --- tests/test_calculations.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/test_calculations.py b/tests/test_calculations.py index 795bfc78c..a2ee807db 100644 --- a/tests/test_calculations.py +++ b/tests/test_calculations.py @@ -22,17 +22,13 @@ # import os -from RPC_Test_Common import ( # get_temp_files_dir_path - almost_equal, - get_dir_path, - reset_to_default_file, -) +from RPC_Test_Common import almost_equal, almost_equal_fixed, get_dir_path, reset_to_default_file def test_do_magnetic_thermal_calculation(mc): mc.do_magnetic_thermal_calculation() - assert almost_equal(mc.get_variable("ArmatureConductor_Temperature"), 134, 0) + assert almost_equal_fixed(mc.get_variable("ArmatureConductor_Temperature"), 134, 10) # def test_calculate_saturation_map():