HomeSort by relevance Sort by last modified time
    Searched refs:mock_afe (Results 1 - 5 of 5) sorted by null

  /external/autotest/server/hosts/
afe_store_unittest.py 19 self.mock_afe = mock.create_autospec(frontend.AFE, instance=True)
20 self.store = afe_store.AfeStore(self.hostname, afe=self.mock_afe)
38 self.mock_afe.get_hosts.return_value = [
47 self.mock_afe.get_hosts.return_value = []
54 self.mock_afe.get_hosts.return_value = [
64 self.mock_afe.get_hosts.return_value = [
68 self.assertEqual(self.mock_afe.run.call_count, 2)
75 self.mock_afe.run.assert_has_calls(expected_run_calls,
81 self.mock_afe.get_hosts.return_value = [
83 self.mock_afe.run.side_effect = rpc_proxy.JSONRPCException('some error'
    [all...]
base_label_unittest.py 192 mock_afe = mock.MagicMock()
206 mock_afe.run.has_calls('host_remove_labels',
211 mock_afe.run.has_calls('host_add_labels',
  /external/autotest/server/cros/network/
rf_switch_controller_test.py 42 def testGetAPBoxes(self, mock_afe):
44 afe_instance = mock_afe()
56 def testGetClientBoxes(self, mock_afe):
58 afe_instance = mock_afe()
71 def testRfSwitchNotConnectedToAPBoxes(self, mock_afe):
73 afe_instance = mock_afe()
85 def testClientBoxWithInvalidLabels(self, mock_afe):
87 afe_instance = mock_afe()
rf_switch_utils_test.py 19 self.mock_afe = self.patcher1.start()
31 afe_instance = self.mock_afe()
45 afe_instance = self.mock_afe()
58 afe_instance = self.mock_afe()
68 afe_instance = self.mock_afe()
78 afe_instance = self.mock_afe()
  /external/autotest/frontend/afe/
rpc_interface_unittest.py 424 mock_afe = self.god.create_mock_class_obj(frontend_wrappers.RetryingAFE,
426 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
445 mock_afe = self.god.create_mock_class_obj(frontend_wrappers.RetryingAFE,
447 self.god.stub_with(frontend_wrappers, 'RetryingAFE', mock_afe)
    [all...]

Completed in 113 milliseconds