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