FEM: fix unit test
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -116,7 +116,10 @@ class TestFemCommon(unittest.TestCase):
|
||||
) 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))
|
||||
|
||||
Reference in New Issue
Block a user