Searched refs:open_mock (Results 1 – 2 of 2) sorted by relevance
670 open_mock = mock.Mock(side_effect=mock_open)674 mock.patch('builtins.open', open_mock), \
295 open_mock = mock.mock_open()312 "builtins.open", open_mock318 open_mock().write.assert_called_once_with("output")