On Friday, February 7, 2014 5:36:52 PM UTC+1, Guido van Rossum wrote: > > Can you show the code that is not working as expected? > Okay, I managed a way to test my "sub" coroutine to ensure they're called:
https://gist.github.com/dzen/8870694 Is this the right way to go ? > On Feb 7, 2014 2:46 AM, "Benoit C." <[email protected] <javascript:>> > wrote: > >> Hello, >> >> I'm trying to mock a coroutine using mock.Mock(), but I can't assert that >> the coroutine is effectively called. >> Do you have any hint to ensure the coroutine is effectively called ? >> >> Thanks for your help. >> >> BenoƮt >> >
