What mock object framework should I use when developing in Python on the Google App Engine?
I am developing an application on the Google App Engine using Python (and 开发者_JAVA百科Django, if that matters).
Which mock object framework should I help to assist with unit tests? I see there are a number of standalone projects (i.e. http://python-mock.sourceforge.net), but I'm not sure if there's something built-in that I can use.
Any ideas?
We use this mock library extensively and very happy with it. It is small, simple and expressive.
And yes, there is no mock-framework in the standard Python library.
精彩评论