Closed GoogleCodeExporter closed 9 years ago
If assert_called_with and assert_called_once_with returned the return value of the mock then you could chain calls to them.
Original issue reported on code.google.com by fuzzyman on 13 Jul 2011 at 12:26
fuzzyman
Original comment by fuzzyman on 17 Jul 2011 at 1:09
`mock_calls` and the `call` object is a better way of asserting chained calls.
Original comment by fuzzyman on 18 Jul 2011 at 12:14
Original issue reported on code.google.com by
fuzzyman
on 13 Jul 2011 at 12:26