Пример #1
0
 def test_UpdateToolCondition(self):
     """
     """
     toolUtils.updateToolCondition(self.ncTool, 5)
     self.assertEqual(5, toolUtils.getToolCondition(self.ncTool))
Пример #2
0
 def test_UpdateToolCondition(self):
     """
     """
     toolUtils.updateToolCondition (self.ncTool, 5)
     self.assertEqual (5, toolUtils.getToolCondition (self.ncTool))
Пример #3
0
 def test_GetToolCondition(self):
     """
     """
     self.assertEqual(0, toolUtils.getToolCondition(
         self.ncTool))  #default value is 0
Пример #4
0
 def test_GetToolCondition(self):
     """
     """
     self.assertEqual (3, toolUtils.getToolCondition (self.ncTool))  #default value is 0