Lines Matching refs:subprocess
19 import subprocess
55 self.Patch(subprocess, "Popen",
56 side_effect=subprocess.CalledProcessError(
58 self.assertRaises(subprocess.CalledProcessError,
86 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
91 subprocess.Popen.assert_called_with(expected_cmd,
100 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
110 subprocess.Popen.assert_called_with(expected_cmd,
119 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
124 subprocess.Popen.assert_called_with(expected_cmd,
133 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
143 subprocess.Popen.assert_called_with(expected_cmd,
152 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
157 subprocess.Popen.assert_called_with(expected_cmd,
166 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
176 subprocess.Popen.assert_called_with(expected_cmd,
222 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
230 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
239 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
247 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
256 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)
264 self.Patch(subprocess, "Popen", return_value=self.created_subprocess)