FEM: z88 solver, use same object type schema as for all other solver objects

This commit is contained in:
Bernd Hahnebach
2020-09-26 23:09:15 +02:00
parent 1ad4417b03
commit 331fd91e7c
2 changed files with 4 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ class Proxy(solverbase.Proxy):
"""The Fem::FemSolver's Proxy python type, add solver specific properties
"""
Type = "Fem::FemSolverZ88"
Type = "Fem::SolverZ88"
def __init__(self, obj):
super(Proxy, self).__init__(obj)

View File

@@ -319,7 +319,7 @@ class TestObjectType(unittest.TestCase):
type_of_obj(solverelmer)
)
self.assertEqual(
"Fem::FemSolverZ88",
"Fem::SolverZ88",
type_of_obj(ObjectsFem.makeSolverZ88(doc))
)
self.assertEqual(
@@ -531,7 +531,7 @@ class TestObjectType(unittest.TestCase):
))
self.assertTrue(is_of_type(
ObjectsFem.makeSolverZ88(doc),
"Fem::FemSolverZ88"
"Fem::SolverZ88"
))
self.assertTrue(is_of_type(
ObjectsFem.makeEquationElasticity(doc, solverelmer),
@@ -1210,7 +1210,7 @@ class TestObjectType(unittest.TestCase):
))
self.assertTrue(is_derived_from(
solver_z88,
"Fem::FemSolverZ88"
"Fem::SolverZ88"
))
# FemEquationElmerElasticity