Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #516 > unrolled thread

ANN: mock 0.8 final released

Started byFuzzyman <fuzzyman@gmail.com>
First post2012-02-16 07:35 -0800
Last post2012-02-16 07:35 -0800
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  ANN: mock 0.8 final released Fuzzyman <fuzzyman@gmail.com> - 2012-02-16 07:35 -0800

#516 — ANN: mock 0.8 final released

FromFuzzyman <fuzzyman@gmail.com>
Date2012-02-16 07:35 -0800
SubjectANN: mock 0.8 final released
Message-ID<mailman.5896.1329417037.27778.python-announce-list@python.org>
After more than six months development work 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

Michael Foord

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web