Here are the examples of the python api mock.call.append taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
1 Examples
3
Example 1
def test_append(editor, vim):
editor.append('new')
editor.append('new', sentinel.lineno)
buffer = vim.current.buffer
assert buffer.mock_calls == [
call.append('new'),
call.append('new', sentinel.lineno),
]