diff --git a/bindings/Sofa/tests/Core/Mass.py b/bindings/Sofa/tests/Core/Mass.py index 843970f0..5f5cc83b 100644 --- a/bindings/Sofa/tests/Core/Mass.py +++ b/bindings/Sofa/tests/Core/Mass.py @@ -15,6 +15,7 @@ def simulate_beam(linear_solver_template): root.addObject('DefaultAnimationLoop') + root.addObject('RequiredPlugin', name='Sofa.Component.StateContainer') root.addObject('RequiredPlugin', name='Sofa.Component.ODESolver.Backward') root.addObject('RequiredPlugin', name='Sofa.Component.LinearSolver.Direct') root.addObject('RequiredPlugin', name='Sofa.Component.Engine.Select') diff --git a/bindings/SofaRuntime/tests/SofaRuntime/Base.py b/bindings/SofaRuntime/tests/SofaRuntime/Base.py index d655bf8b..cbdd3985 100644 --- a/bindings/SofaRuntime/tests/SofaRuntime/Base.py +++ b/bindings/SofaRuntime/tests/SofaRuntime/Base.py @@ -12,5 +12,5 @@ def test_getCategoriesmethod(self): import SofaRuntime SofaRuntime.importPlugin("Sofa.Component") t = SofaRuntime.getCategories("MeshOBJLoader") - self.assertEquals(len(t),1) + self.assertEqual(len(t),1) self.assertIsInstance(t, list)