Closed GoogleCodeExporter closed 9 years ago
In 0.8 (beta available - "pip install -U mock==dev") Mock has
"assert_has_calls" which can be order agnostic.
See this blog entry:
http://www.voidspace.org.uk/python/weblog/arch_d7_2011_07_30.shtml#e1223
Original comment by fuzzyman
on 2 Oct 2011 at 11:53
Note that changing the semantics of assert_called_with wouldn't be acceptable.
I think the new assert_any_call is pretty much what you want.
Original comment by fuzzyman
on 6 Oct 2011 at 10:22
hi thanks for the pointer about 0.8 didnt know it was already fixed, I'm
converting the project to use it now :)
Original comment by Commande...@gmail.com
on 7 Oct 2011 at 6:33
Original issue reported on code.google.com by
Commande...@gmail.com
on 1 Oct 2011 at 10:18Attachments: