Lines Matching refs:mock
8 from unittest import mock
38 @mock.patch('subprocess.Popen')
40 with mock.patch.object(script_helper,
56 @mock.patch('subprocess.Popen')
59 with mock.patch.object(script_helper,
85 @mock.patch('subprocess.check_call')
87 with mock.patch.dict(os.environ):
94 @mock.patch('subprocess.check_call')
96 with mock.patch.dict(os.environ):
103 @mock.patch('subprocess.check_call')
105 with mock.patch.dict(os.environ):
115 @mock.patch('subprocess.check_call')
117 with mock.patch.dict(os.environ):