./devel/py-fixtures, Fixtures, reusable state for writing clean tests and more

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 4.1.0, Package name: py312-fixtures-4.1.0, Maintainer: pkgsrc-users

Fixtures defines a Python contract for reusable state / support
logic, primarily for unit testing. Helper and adaption logic is
included to make it easy to write your own fixtures using the
fixtures contract. Glue code is provided that makes using fixtures
that meet the Fixtures contract in unittest compatible test cases
easy and straight forward.


Required to run:
[devel/py-setuptools] [lang/py-six] [lang/python37]

Required to build:
[devel/py-mock] [devel/py-pbr] [pkgtools/cwrappers]

Master sites:

Filesize: 57.188 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2023-12-17 09:29:04 by Thomas Klausner | Files touched by this commit (1)
Log message:
py-fixtures: fix TOOLS
   2023-12-11 18:14:48 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-fixtures: updated to 4.1.0

4.1.0

* Drop support for Python 3.6 (EOL)
* Add a new ``WarningsFilter`` filter, allowing users to filter warnings as
  part of their tests, before restoring said filters.

4.0.1

* Remove ``testtools`` from ``requirements.txt`` as well.

4.0.0

* Add missing APIs to ``FakeProcess``, making it match ``Popen``.
* Dropped support for Python 2.7, Python 3.4 and Python 3.5 (EOL).
* Added support for Python 3.6-3.10.
* Add possibility to reset the ``FakeLogger``.
* Access ``mock.DEFAULT`` lazily rather than at import time so ``mock`` can
  be overridden with something else.
* Support all ``subprocess.Popen`` arguments up to Python 3.10.
* Move ``testtools`` requirement to a new ``fixtures[streams]`` extra.
   2023-11-07 23:38:10 by Thomas Klausner | Files touched by this commit (112)
Log message:
*: latest py-sphinx only support Python 3.9+
   2022-05-03 19:33:09 by Nia Alarie | Files touched by this commit (1)
Log message:
py-fixtures: turn pbr into a TOOL_DEPENDS since it's listed as required
during setup by the build system
   2022-04-30 01:29:18 by Thomas Klausner | Files touched by this commit (13)
Log message:
*: mark dependencies of py-pbr and py-test-virtualenv as not-for-python-2.x
   2022-01-27 11:57:32 by Thomas Klausner | Files touched by this commit (10)
Log message:
*: switch py-testtools users to versioned_dependencies.mk