Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
FEM: unit tests, import py modules, do not import taskpanel in cmd mode
  • Loading branch information
berndhahnebach committed May 22, 2020
1 parent cf607d0 commit 0d416c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Mod/Fem/femtest/app/test_common.py
Expand Up @@ -116,6 +116,9 @@ def test_pyimport_all_FEM_modules(
) and sys.version_info.major < 3:
continue

if mod == "femsolver.solver_taskpanel" and not FreeCAD.GuiUp:
continue

fcc_print("Try importing {0} ...".format(mod))
try:
im = __import__("{0}".format(mod))
Expand Down

0 comments on commit 0d416c8

Please sign in to comment.