hRobert12 / mock

Automatically exported from code.google.com/p/mock
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Allow side_effect to be an iterator to return a sequence of values #109

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Setting side_effect to be an iterator could be a way of returning a sequence of 
objects.

Original issue reported on code.google.com by fuzzyman on 26 Jul 2011 at 10:26

GoogleCodeExporter commented 8 years ago

Original comment by fuzzyman on 26 Jul 2011 at 10:33

GoogleCodeExporter commented 8 years ago
Fixed on head will be in 0.8 beta 2.

Original comment by fuzzyman on 27 Jul 2011 at 12:30