OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mock_fastboot_commands
(Results
1 - 2
of
2
) sorted by null
/system/iot/attestation/at-factory-tool/
fastbootsubp_unittest.py
46
def testListDevicesOneDevice(self,
mock_fastboot_commands
):
47
mock_fastboot_commands
.return_value = self.TEST_SERIAL + '\tfastboot'
49
mock_fastboot_commands
.assert_called_once_with(
55
def testListDevicesTwoDevices(self,
mock_fastboot_commands
):
56
mock_fastboot_commands
.return_value = (self.TEST_SERIAL + '\tfastboot\n' +
59
mock_fastboot_commands
.assert_called_once_with(
66
def testListDevicesTwoDevicesCRLF(self,
mock_fastboot_commands
):
67
mock_fastboot_commands
.return_value = (self.TEST_SERIAL + '\tfastboot\r\n' +
70
mock_fastboot_commands
.assert_called_once_with(
77
def testListDevicesMultiDevices(self,
mock_fastboot_commands
)
[
all
...]
fastbootsh_unittest.py
43
def testListDevicesOneDevice(self,
mock_fastboot_commands
):
44
mock_fastboot_commands
.return_value = self.TEST_SERIAL + '\tfastboot'
46
mock_fastboot_commands
.assert_called_once_with('devices')
51
def testListDevicesTwoDevices(self,
mock_fastboot_commands
):
52
mock_fastboot_commands
.return_value = (self.TEST_SERIAL + '\tfastboot\n' +
55
mock_fastboot_commands
.assert_called_once_with('devices')
61
def testListDevicesMultiDevices(self,
mock_fastboot_commands
):
66
mock_fastboot_commands
.return_value = result
68
mock_fastboot_commands
.assert_called_once_with('devices')
72
def testListDevicesNone(self,
mock_fastboot_commands
)
[
all
...]
Completed in 441 milliseconds