FEM: solver z88, change object type

This commit is contained in:
Bernd Hahnebach
2020-05-21 15:04:24 +02:00
parent 88457108a5
commit 29b61616a8
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::FemSolverObjectZ88"
Type = "Fem::FemSolverZ88"
def __init__(self, obj):
super(Proxy, self).__init__(obj)

View File

@@ -354,7 +354,7 @@ class TestObjectType(unittest.TestCase):
type_of_obj(solverelmer)
)
self.assertEqual(
"Fem::FemSolverObjectZ88",
"Fem::FemSolverZ88",
type_of_obj(ObjectsFem.makeSolverZ88(doc))
)
self.assertEqual(
@@ -554,7 +554,7 @@ class TestObjectType(unittest.TestCase):
))
self.assertTrue(is_of_type(
ObjectsFem.makeSolverZ88(doc),
"Fem::FemSolverObjectZ88"
"Fem::FemSolverZ88"
))
self.assertTrue(is_of_type(
ObjectsFem.makeEquationElasticity(doc, solverelmer),
@@ -1199,7 +1199,7 @@ class TestObjectType(unittest.TestCase):
))
self.assertTrue(is_derived_from(
solver_z88,
"Fem::FemSolverObjectZ88"
"Fem::FemSolverZ88"
))
# FemEquationElmerElasticity