Searched refs:mock_which (Results 1 – 1 of 1) sorted by relevance
159 def mock_which(name): function175 which_mock = mock.Mock(side_effect=mock_which)517 def mock_which(name, *args, **kwargs): function531 with mock.patch('shutil.which', mock_which), \