Ejemplo n.º 1
0
 def testImportInvalidRobot(self):
     with self.assertRaises(ImportRobotException):
         GraspitCommander.importRobot("")
Ejemplo n.º 2
0
 def testSaveWorld(self):
     GraspitCommander.importRobot("Barrett")
     GraspitCommander.importGraspableBody("ashtray")
     GraspitCommander.saveWorld("test_world")
Ejemplo n.º 3
0
 def testImportRobot(self):
     GraspitCommander.importRobot("Barrett")
     assert len(GraspitCommander.getRobots().ids) == 1