阅读背景:

如何在python中使用unittest setUp正确使用mock

来源:互联网 

In my attempt to learn TDD, trying to learn unit testing and using mock with python. Slowly getting the hang of it, but unsure if I'm doing this correctly. Forewarned: I'm stucking using python 2.4 because the vendor API's come as pre-compiled 2.4 pyc files, so I'm using mock 0.8.0 and unittest ( not unittest2 )In my attempt to learn TDD, trying to learn uni




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: