Re: Using mock library (written by Michael Foord)

2010-02-25 Thread Peter Otten
Lacrima wrote: > I use mock library http://www.voidspace.org.uk/python/mock/. There is > no user group for the library, so I post in comp.lang.python and hope > that people who use it will help me. > > The library allows to patch objects, using patch decorator. Patching > is done only within the

Using mock library (written by Michael Foord)

2010-02-25 Thread Lacrima
Hello! I use mock library http://www.voidspace.org.uk/python/mock/. There is no user group for the library, so I post in comp.lang.python and hope that people who use it will help me. The library allows to patch objects, using patch decorator. Patching is done only within the scope of the functio