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,
86 @mock.patch('subprocess.check_call')
88 with mock.patch.dict(os.environ):
95 @mock.patch('subprocess.check_call')
97 with mock.patch.dict(os.environ):
104 @mock.patch('subprocess.check_call')
106 with mock.patch.dict(os.environ):
116 @mock.patch('subprocess.check_call')
118 with mock.patch.dict(os.environ):