예제 #1
0
 def call_update(self, _):
     """Process update command"""
     self.update_succcess = not update_terminal()
     return True
예제 #2
0
 def test_update_terminal(self, mock):
     # pylint: disable=unused-argument
     value = terminal_helper.update_terminal()
     self.assertEqual(value, 2)