Lines Matching refs:drone
43 def send_file_to(self, drone, source_path, destination_path, argument
46 (drone, source_path, destination_path))
64 def was_file_sent(self, drone, source_path, destination_path): argument
66 (drone, source_path,
124 drone = self._test_choose_drone_for_execution_helper([(1, 2), (0, 2)],
126 self.assertEquals(drone.name, 1)
130 drone = self._test_choose_drone_for_execution_helper([(0, 1), (1, 3)],
132 self.assertEquals(drone.name, 1)
136 drone = self._test_choose_drone_for_execution_helper([(2, 1), (3, 2)],
138 self.assertEquals(drone.name, 1)
142 drone = self._test_choose_drone_for_execution_helper([(5, 3), (10, 6)],
144 self.assertEquals(drone.name, 1)
148 drone = self._test_choose_drone_for_execution_helper(
150 self.assertEquals(drone.name, 0)
155 drone = self._test_choose_drone_for_execution_helper(
157 self.assertEquals(drone.name, 1)
171 drone = self.manager._choose_drone_for_execution(
173 self.assertEquals(drone.name, 2)
188 drone = self.manager._choose_drone_for_execution(
190 self.assertEquals(drone.name, 2)
207 drone = self.manager._choose_drone_for_execution(
209 self.assertEqual(drone.name, 1)
218 drone = self.manager._choose_drone_for_execution(
222 self.assertEqual(drone.name, 2)
231 drone = self.manager._choose_drone_for_execution(
234 self.assertEqual(drone.name, 2)
243 drone = self.manager._choose_drone_for_execution(
246 self.assertEqual(drone, None)
433 for drone in self.manager.get_drones():
434 drone._host.run.expect_call(
439 expected_results[drone] = self.mock_return['results']