Navigation Menu

Skip to content

Commit

Permalink
FEM: fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed May 22, 2020
1 parent a3a61c3 commit 6074ffa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/TestFemGui.py
Expand Up @@ -25,7 +25,7 @@

# Gui Unit tests for the FEM module
# to get the right order import as is used
from femtest.gui.test_femopen import TestObjectOpen as FemGuiTest01
from femtest.gui.test_open import TestObjectOpen as FemGuiTest01


# dummy usage to get flake8 and lgtm quiet
Expand Down
5 changes: 4 additions & 1 deletion src/Mod/Fem/femtest/app/test_common.py
Expand Up @@ -116,7 +116,10 @@ def test_pyimport_all_FEM_modules(
) and sys.version_info.major < 3:
continue

if mod == "femsolver.solver_taskpanel" and not FreeCAD.GuiUp:
if (
mod == "femsolver.solver_taskpanel"
or mod == "TestFemGui"
) and not FreeCAD.GuiUp:
continue

fcc_print("Try importing {0} ...".format(mod))
Expand Down

0 comments on commit 6074ffa

Please sign in to comment.