Lines Matching defs:call
5 from unittest.mock import MagicMock, Mock, patch, sentinel, mock_open, call
160 expected_calls = [call('foo'), call().__enter__(), call().read(),
161 call().__exit__(None, None, None)]
174 call('foo'), call().__enter__(), call().read(),
175 call().__exit__(None, None, None),
176 call('bar'), call().__enter__(), call().read(),
177 call().__exit__(None, None, None)]
341 # call repeatedly to check that a StopIteration is not propagated