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