Merge pull request #26057 from TONY8779/fix-fem-existance-typo

Fix typo in FEM module: 'existance' -> 'existence'
This commit is contained in:
aditya dubey
2026-01-07 14:47:09 +05:30
committed by GitHub
parent 42f51ff4f6
commit fe5774aa7a
2 changed files with 7 additions and 7 deletions

View File

@@ -74,8 +74,8 @@ class TestFemImport(unittest.TestCase):
# ************************************************************************************************
# ************************************************************************************************
# to be sure this is run on very first of FEM test this is here and not in objects
class TestObjectExistance(unittest.TestCase):
fcc_print("import TestObjectExistance")
class TestObjectexistence(unittest.TestCase):
fcc_print("import TestObjectexistence")
# ********************************************************************************************
def setUp(self):
@@ -94,13 +94,13 @@ class TestObjectExistance(unittest.TestCase):
# since method name starts with 00 this will be run first
# this test just prints a line with stars
fcc_print(
"\n{0}\n{1} run FEM TestObjectExistance tests {2}\n{0}".format(
"\n{0}\n{1} run FEM TestObjectexistence tests {2}\n{0}".format(
100 * "*", 10 * "*", 55 * "*"
)
)
# ********************************************************************************************
def test_objects_existance(self):
def test_objects_existence(self):
expected_obj_types = [
"Fem::Constraint",

View File

@@ -31,7 +31,7 @@ make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_solver_z88
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_ccxtools.TestCcxTools
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_common.TestFemCommon
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_femimport.TestFemImport
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_femimport.TestObjectExistance
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_femimport.TestObjectexistence
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_material.TestMaterialUnits
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_mesh.TestMeshCommon
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_mesh.TestMeshEleTetra10
@@ -52,7 +52,7 @@ make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_ccxtools.TestCcxTools.test_box
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_common.TestFemCommon.test_adding_refshaps
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_common.TestFemCommon.test_pyimport_all_FEM_modules
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_femimport.TestFemImport.test_import_fem
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_femimport.TestObjectExistance.test_objects_existance
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_femimport.TestObjectexistence.test_objects_existence
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_material.TestMaterialUnits.test_known_quantity_units
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_material.TestMaterialUnits.test_material_card_quantities
make -j 4 && ./bin/FreeCADCmd -t femtest.app.test_mesh.TestMeshCommon.test_mesh_seg2_python
@@ -156,7 +156,7 @@ unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName(
import unittest
unittest.TextTestRunner().run(unittest.TestLoader().loadTestsFromName(
'femtest.app.test_femimport.TestObjectExistance.test_objects_existance'
'femtest.app.test_femimport.TestObjectexistence.test_objects_existence'
))
import unittest