Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
11 events
when toggle format what by license comment
Apr 18, 2023 at 8:26 answer added syarief_muhdhor timeline score: 0
Mar 3, 2016 at 23:13 answer added idjaw timeline score: 9
Mar 3, 2016 at 14:40 vote accept myg
S Mar 3, 2016 at 14:25 history edited matthewbauer CC BY-SA 3.0
improved grammer,fixed grammer
S Mar 3, 2016 at 14:25 history suggested Hardik Vyas CC BY-SA 3.0
improved grammer,fixed grammer
Mar 3, 2016 at 14:16 comment added DreyFax This is the same as Daniel's answer so please accept it. This makes it easier for users with a similar problem to recognize, that this answer worked. Answers in comments are hard to find.
Mar 3, 2016 at 14:03 comment added myg I response myself: The code that woks for me: c.myExampleFunction.return_value = "myName", 100, 200
Mar 3, 2016 at 14:01 comment added DreyFax Documentation: If side_effect is an iterable then each call to the mock will return the next value from the iterable.
Mar 3, 2016 at 13:59 review Suggested edits
S Mar 3, 2016 at 14:25
Mar 3, 2016 at 13:59 answer added Daniel Roseman timeline score: 23
Mar 3, 2016 at 13:53 history asked myg CC BY-SA 3.0