Skip to content

Commit d3c7367

Browse files
committed
Added unit test to verify that the getCategories () binding works
1 parent 297e43e commit d3c7367

File tree

1 file changed

+7
-0
lines changed
  • bindings/SofaRuntime/tests/tests

1 file changed

+7
-0
lines changed

bindings/SofaRuntime/tests/tests/Base.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,10 @@ def test_moduleImport(self):
88
import SofaRuntime
99

1010
SofaRuntime.importPlugin('SofaComponentAll')
11+
12+
def test_getcategoriesmethode(self):
13+
import SofaRuntime
14+
SofaRuntime.importPlugin("SofaComponentAll")
15+
t = SofaRuntime.getCategories("MeshObjLoader")
16+
self.assertEquals(len(t),1)
17+
self.assertIsInstance(t, list)

0 commit comments

Comments
 (0)