FEM: fix failing unit test due to wrong result name, related: 79b41f7393

This commit is contained in:
Bernd Hahnebach
2021-07-05 23:57:57 +02:00
parent fb8c6f7abe
commit 809a4ff153

View File

@@ -87,7 +87,7 @@ class TestCcxTools(unittest.TestCase):
from femexamples.boxanalysis_frequency import setup
setup(self.document, "ccxtools")
base_name = get_namefromdef("test_")
res_obj_name = "CCX_Mode1_Results"
res_obj_name = "CCX_EigenMode_1_Results"
analysis_dir = testtools.get_fem_test_tmp_dir(self.pre_dir_name + base_name)
# test input file writing
@@ -98,7 +98,6 @@ class TestCcxTools(unittest.TestCase):
test_end=True,
)
""" temporary deactivate test due to 79b41f739381
# test result reading
self.result_reading_test(
None,
@@ -107,7 +106,6 @@ class TestCcxTools(unittest.TestCase):
fea=fea,
res_obj_name=res_obj_name,
)
"""
# ********************************************************************************************
def test_box_static(
@@ -145,7 +143,7 @@ class TestCcxTools(unittest.TestCase):
from femexamples.thermomech_flow1d import setup
setup(self.document, "ccxtools")
base_name = get_namefromdef("test_")
res_obj_name = "CCX_Time1_0_Results"
res_obj_name = "CCX_Time_1_0_Results"
analysis_dir = testtools.get_fem_test_tmp_dir(self.pre_dir_name + base_name)
# test input file writing
@@ -156,7 +154,6 @@ class TestCcxTools(unittest.TestCase):
test_end=True,
)
""" temporary deactivate test due to 79b41f739381
# test result reading
self.result_reading_test(
None,
@@ -165,7 +162,6 @@ class TestCcxTools(unittest.TestCase):
fea=fea,
res_obj_name=res_obj_name,
)
"""
# ********************************************************************************************
def test_thermomech_spine(