OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mock_popen
(Results
1 - 2
of
2
) sorted by null
/tools/test/connectivity/tools/lab/tests/
usb_metric_test.py
34
with mock.patch('subprocess.Popen') as
mock_popen
:
35
mock_popen
.return_value.stdout = BytesIO(
43
with mock.patch('subprocess.Popen') as
mock_popen
:
44
mock_popen
.return_value.stdout = BytesIO(b'')
/external/python/cpython2/Lib/test/
test_uuid.py
409
def
mock_popen
(cmd):
function in function:.test_find_mac
423
with test_support.swap_attr(os, 'popen',
mock_popen
):
Completed in 2800 milliseconds