Re: [Tutor] Unit test cases for Object intraction using mox/unittest

2013-03-08 Thread Mark Lawrence
On 08/03/2013 12:38, jitendra gupta wrote: The self same question has been asked on the tutor mailing, I suggest we all answer over there rather than scattering seeds to the wind. -- Cheers. Mark Lawrence ___ Tutor maillist - Tutor@python.org To

Re: [Tutor] Unit test cases for Object intraction using mox/unittest

2013-03-08 Thread Mark Lawrence
On 08/03/2013 12:38, jitendra gupta wrote: Hi I need to write the unit test cases for similary kind of sitution. I need to write the unit test case for Foo.testCall. for both case true or false. I am unalbe to do that. What Python version and OS, what did you try and what went wrong? Would

[Tutor] Unit test cases for Object intraction using mox/unittest

2013-03-08 Thread jitendra gupta
Hi I need to write the unit test cases for similary kind of sitution. I need to write the unit test case for Foo.testCall. for both case true or false. I am unalbe to do that. kindly please help me on this. as function is not returning any thing. from google i got mox is good for this case. but