Skip to content

Commit

Permalink
FEM: z88 solver, use same object type schema as for all other solver …
Browse files Browse the repository at this point in the history
…objects
  • Loading branch information
berndhahnebach committed Sep 26, 2020
1 parent 1ad4417 commit 331fd91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/Mod/Fem/femsolver/z88/solver.py
Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions src/Mod/Fem/femtest/app/test_object.py
Expand Up @@ -319,7 +319,7 @@ def test_femobjects_type(
type_of_obj(solverelmer)
)
self.assertEqual(
"Fem::FemSolverZ88",
"Fem::SolverZ88",
type_of_obj(ObjectsFem.makeSolverZ88(doc))
)
self.assertEqual(
Expand Down Expand Up @@ -531,7 +531,7 @@ def test_femobjects_isoftype(
))
self.assertTrue(is_of_type(
ObjectsFem.makeSolverZ88(doc),
"Fem::FemSolverZ88"
"Fem::SolverZ88"
))
self.assertTrue(is_of_type(
ObjectsFem.makeEquationElasticity(doc, solverelmer),
Expand Down Expand Up @@ -1210,7 +1210,7 @@ def test_femobjects_derivedfromfem(
))
self.assertTrue(is_derived_from(
solver_z88,
"Fem::FemSolverZ88"
"Fem::SolverZ88"
))

# FemEquationElmerElasticity
Expand Down

0 comments on commit 331fd91

Please sign in to comment.