Home
last modified time | relevance | path

Searched refs:mock_check_call (Results 1 – 1 of 1) sorted by relevance

/third_party/python/Lib/test/
Dtest_script_helper.py86 def test_interpreter_requires_environment_true(self, mock_check_call): argument
89 mock_check_call.side_effect = subprocess.CalledProcessError('', '')
92 self.assertEqual(1, mock_check_call.call_count)
95 def test_interpreter_requires_environment_false(self, mock_check_call): argument
101 self.assertEqual(1, mock_check_call.call_count)
104 def test_interpreter_requires_environment_details(self, mock_check_call): argument
110 self.assertEqual(1, mock_check_call.call_count)
111 check_call_command = mock_check_call.call_args[0][0]
116 def test_interpreter_requires_environment_with_pythonhome(self, mock_check_call): argument
121 self.assertEqual(0, mock_check_call.call_count)