Nti.testing

Latest version: v4.1.0

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

Scan your dependencies

Page 1 of 2

4.1.1

==================

- Nothing changed yet.

4.1.0

==================

- Add support for, and require, testgres 1.10. This is needed because
they changed the signature for ``get_pg_version``.
- Drop support for Python 3.8 and 3.9.

4.0.0

==================

- Add support for Python 3.10, 3.11 and 3.12.
- Drop support for Python 2 and Python 3.6 and 3.7.
- Add a layer for working with a ``testgres`` Postgres instance.
- Add methods to the test base classes to support ``unittest.mock`` patches.

3.1.0

==================

- Add support for Python 3.9.

- Drop support for Python 3.5.

- Add the module alias ``nti.testing.mock``, which is either the
standard library ``unittest.mock``, or the backport ``mock``. This
allows easy imports when backwards compatibility matters.

- Make ``mock``, ``mock.Mock`` and various other API attributes,
like ``is_true``, available directly from the ``nti.testing`` namespace.

3.0.0

==================

- Add support for Python 3.8.

- Require zope.interface 5.1. This lets the interface matchers produce
much more informative error messages.

- Add ``nti.testing.zodb`` with helpers for dealing with ZODB. This
makes ZODB 5.6 or above a required dependency.

2.2.1

==================

- Make transaction cleanup safer if the default transaction manager
has been made explicit.

Also, reset the default transaction manager to implicit.

See `issue 17 <https://github.com/NextThought/nti.testing/issues/17>`_.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.