Home
last modified time | relevance | path

Searched refs:MockHost (Results 1 – 8 of 8) sorted by relevance

/external/autotest/server/hosts/
Dcros_label_unittest.py129 class MockHost(object): class
146 class MockHostWithoutAFE(MockHost):
158 host = MockHost([], MockCmd(mosys_cmd, 0, '27\n'))
163 host = MockHost([], MockCmd(mosys_cmd, 1, '27\n'))
167 host = MockHost(['device-sku:48'])
181 host = MockHost([], MockCmd(cros_config_cmd, 0, 'XXYZ\n'))
186 host = MockHost([], MockCmd(cros_config_cmd, 1, 'XXYZ\n'))
190 host = MockHost(['brand-code:ABCD'])
198 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PVT))
202 host = MockHost([], MockCmd('gsctool -a -f', 0, GSCTOOL_OUTPUT_PREPVT))
[all …]
Dservo_host_unittest.py20 class MockHost(servo_host.ServoHost): class
42 host = MockHost()
49 host = MockHost()
62 host = MockHost()
69 host = MockHost()
82 host = MockHost()
186 host = MockHost()
195 host = MockHost()
Dcros_host_unittest.py45 class MockHost(cros_host.CrosHost): class
65 host = MockHost(
71 host = MockHost(
78 host = MockHost(
86 host = MockHost(
92 host = MockHost(
127 host = MockHost()
Dbase_label_unittest.py63 class MockHost(object): class
88 self.assertEqual(self.test_base_label.get(MockHost(exists=True)),
91 self.assertEqual(self.test_base_label.get(MockHost(exists=False)),
179 mockhost = MockHost(store=store)
Dfactory_unittest.py14 class MockHost(object): class
41 return type('mock_host_%s' % name, (MockHost,), {
/external/autotest/site_utils/deployment/prepare/
Ddut_unittest.py39 class MockHost(object): class
59 m = MockHost(info=HostInfo(**mock_labstation_args))
63 m = MockHost(info=HostInfo(**mock_labstation_args_bad_config))
/external/autotest/server/cros/storage/
Dstorage_validate_unittest.py22 class MockHost(object): class
46 servohost = MockHost('dummy_servohost_hostname')
/external/autotest/server/cros/device_health_profile/
Ddevice_health_profile_unittest.py19 class MockHost(object): class
40 servohost = MockHost('dummy_servohost_hostname')