Skip to content

Commit

Permalink
FEM, Tests: Add setting static analysis
Browse files Browse the repository at this point in the history
The tests from GUI were failing if FEM prefs were set to frequency analysis

Debugged by: sgrogan

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and yorikvanhavre committed Oct 17, 2015
1 parent b4352a1 commit a0d8042
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Mod/Fem/TestFem.py
Expand Up @@ -188,6 +188,10 @@ def test_new_analysis(self):

fcc_print('Checking FEM inp file write...')

fcc_print('Setting analysis type to \'static\"')
fea.set_analysis_type("static")
self.assertTrue(True if fea.analysis_type == 'static' else False, "Setting anlysis type to \'static\' failed")

fcc_print('Setting up working directory {}'.format(static_analysis_dir))
fea.setup_working_dir(static_analysis_dir)
self.assertTrue(True if fea.working_dir == static_analysis_dir else False,
Expand Down

0 comments on commit a0d8042

Please sign in to comment.