Beispiel #1
0
 def testImportInvalidObstacle(self):
     with self.assertRaises(ImportObstacleException):
         GraspitCommander.importObstacle("")
Beispiel #2
0
 def testImportObstacle(self):
     GraspitCommander.importObstacle("floor")
     assert len(GraspitCommander.getBodies().ids) == 1