python-testfixtures

Edit Package python-testfixtures

TestFixtures is a collection of helpers and mock objects that are
useful when writing unit tests or doc tests.

If you're wondering why "yet another mock object library", testing is
often described as an art form and as such some styles of library will
suit some people while others will suit other styles. This library
contains common test fixtures the author found himself
repeating from package to package and so decided to extract them into
their own library and give them some tests of their own!

Refresh
Refresh
Source Files
Filename Size Changed
path-comparsion-312.patch 0000001336 1.3 KB
python-testfixtures.changes 0000013723 13.4 KB
python-testfixtures.spec 0000002869 2.8 KB
testfixtures-7.2.2.tar.gz 0000133809 131 KB
Revision 25 (latest revision is 29)
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1129684 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 25)
- Update to 7.2.2:
  * Fix bug in support for :class:`os.PathLike` arguments to
    :class:`popen.MockPopen`.
  * Added missing support for :class:`os.PathLike` arguments to
    :class:`popen.MockPopen`.
  * Add ``order_matters`` parameter to :class:`ShouldWarn`.
  * Implement new IDE and static-analysis ways of :doc:`mocking <mocking>`
    including additional parameters to :meth:`~Replacer.replace` along with
    the :any:`replace_on_class`, :any:`replace_in_module` and
    :any:`replace_in_environ` context managers.
- Add patch path-comparsion-312.patch:
  * Compare paths string-wise, due to Python 3.12 changes.
- Switch to autosetup and pyproject macros.
- Remove now unneeded Python 3.6 special-casing.
Comments 0
openSUSE Build Service is sponsored by