Fixtures

Latest version: v4.1.0

Safety actively analyzes 630094 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 6

0.3.16

~~~~~~

CHANGES
-------

* Fixed 0.3.15 on Python 2.6 - version info is a plain tuple there.
(Robert Collins)

0.3.15

~~~~~~

CHANGES
-------

* ``FakePopen`` now supports being called under a context manager (IE: with).
(Steve Kowalik)

* ``FakeProcess`` now supports kill(). (Steve Kowalik)

* ``FakeProcess`` wait() now supports arguments added in Python 3.
(Steve Kowalik)

* ``MonkeyPatch`` now preserves ``staticmethod`` functions.
(Dan Kenigsberg)

0.3.14

~~~~~~

CHANGES
-------

* ``FakePopen`` can now override the returncode attribute.
(Robert Collins)

0.3.13

~~~~~~

CHANGES
-------

* Documentation hopefully covers ``TestWithFixtures`` a little better.
(Robert Collins, 1102688)

* ``FakePopen`` now accepts all the parameters available in Python 2.7.
(Robert Collins)

* ``FakePopen`` now only passes parameters to the get_info routine if the
caller supplied them. (Robert Collins)

* ``setup.py`` now lists the ``testtools`` dependency which was missing.
(Robert Collins, 1103823)

0.3.12

~~~~~~

Brown bag fix up of StringStream from 0.3.11.

0.3.11

~~~~~~

CHANGES
-------

* ``DetailStream`` was ambiguous about whether it handled bytes or characters,
which matters a lot for Python3. It now is deprecated with ByteStream and
StringStream replacing it. (Robert Collins)

* Fixtures is now Python3 compatible. (Robert Collins)

* ``FakeLogger`` has been split out into a ``LogHandler`` fixture that can
inject arbitrary handlers, giving more flexability. (Jonathan Lange)

* pydoc is recommended as a source of info about fixtures.
(Robert Collins, 812845)

* The docs for fixtures have been updated to cover the full API.
(Robert Collins, 1071649)

Page 3 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.