1515# Setting up model
1616@pytest .fixture
1717def current_model ():
18- return
19-
2018 section_parameters = [0.08 , 0.008 , 0 , 0 , 0 , 0 ]
2119 pipe_section_info = { "section_type_label" : "pipe" ,
2220 "section_parameters" : section_parameters }
@@ -57,10 +55,8 @@ def current_model():
5755
5856 return preprocessor
5957
60- # start testing
58+ @ pytest . mark . skip
6159def test_modal_analysis (current_model ):
62- #TODO: update this test
63- return
6460 project = current_model .project
6561 model = current_model .model
6662 solution = StructuralSolver (model , None )
@@ -73,9 +69,8 @@ def test_modal_analysis(current_model):
7369 assert np .allclose (natural_frequencies , correct_natural_frequencies )
7470 assert np .allclose (eigen_vectors , correct_eigen_vectors )
7571
72+ @pytest .mark .skip
7673def test_direct_method (current_model ):
77- #TODO: update this test
78- return
7974 project = current_model .project
8075 model = current_model .model
8176 frequencies = np .linspace (0 , 200 , 201 )
@@ -87,9 +82,8 @@ def test_direct_method(current_model):
8782 correct_solution = project .solution_structural
8883 assert np .allclose (solution , correct_solution )
8984
85+ @pytest .mark .skip
9086def test_mode_superposition (current_model , modes = 60 ):
91- #TODO: update this test
92- return
9387 project = current_model .project
9488 model = current_model .model
9589 frequencies = np .linspace (0 , 200 , 201 )
0 commit comments