def test_exec_command_p_uncomplete_argument(self): #4th argument is missing in adb_command global positive_exp_result_wo_output adb_command = [ ADB_COMMAND_PREFIX, ADB_COMMAND_PULL, tmp_file_on_target ] result = adb.exec_command(adb_command) self.assertEqual(result, positive_exp_result_wo_output)
def test_exec_command_n_missing_argument(self): #no argument at all adb_command = None result = adb.exec_command(adb_command) self.assertNotEqual(str(result), 0)
def test_exec_command_p_uncomplete_argument(self): #4th argument is missing in adb_command global positive_exp_result_wo_output adb_command = [ADB_COMMAND_PREFIX, ADB_COMMAND_PULL, tmp_file_on_target] result = adb.exec_command(adb_command) self.assertEqual(result, positive_exp_result_wo_output)
def test_exec_command_p_adb_pull(self): global adb_pull global positive_exp_result_wo_output result = adb.exec_command(adb_pull) self.assertEqual(result, positive_exp_result_wo_output)