[TIP] ANN: mock 0.8 released - finally final

Robert Madole robmadole at gmail.com
Thu Feb 16 08:31:31 PST 2012


Thank you so much for you work on this, it's the best tool for the job. I'm excited to use the new features!

On Feb 16, 2012, at 10:24 AM, Tom Davis wrote:

> On Thu, 16 Feb 2012 15:32:42 +0000, Michael Foord wrote:
>> Hello all,
>> 
>> I'm exhausted to be able to announce that mock 0.8 has been released.
>> 
>> 0.8 is a big release with many new features, general improvements
>> and bugfixes.
>> 
>> You can download mock 0.8.0 final from the PyPI page or install it with:
>> 
>>    pip install -U mock
>> 
>> mock is a library for testing in Python. It allows you to replace
>> parts of your system under test with mock objects.
>> 
>> http://pypi.python.org/pypi/mock
>> http://www.voidspace.org.uk/python/mock/
>> http://www.voidspace.org.uk/python/mock/changelog.html#version-0-8-0
>> 
>> The only changes in mock 0.8.0 final since 0.8rc2 are:
>> 
>> * Improved repr of `sentinel` objects
>> * `ANY` can be used for comparisons against call objects
>> * The return value of  `MagicMock.__iter__` can be set to any
>> iterable and isn't required to be an iterator
>> 
>> A longer version of this announcement, including the full changelog
>> since mock 0.7 and a couple of short examples of the most important
>> changes, can be found on my blog:
>> 
>> http://www.voidspace.org.uk/python/weblog/arch_d7_2012_02_11.shtml#e1234
>> 
>> All the best,
>> 
>> Michael Foord
> 
> Thanks, Michael! Mock is great--I couldn't do my job (properly) without it.
> 
> 
> Cheers,
> 
> Tom
> 
>> 
>> -- 
>> http://www.voidspace.org.uk/
>> 
>> May you do good and not evil
>> May you find forgiveness for yourself and forgive others
>> May you share freely, never taking more than you give.
>> -- the sqlite blessing http://www.sqlite.org/different.html
>> 
>> 
>> _______________________________________________
>> testing-in-python mailing list
>> testing-in-python at lists.idyll.org
>> http://lists.idyll.org/listinfo/testing-in-python
> 
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python




More information about the testing-in-python mailing list