./devel/py-test-mock, Thin-wrapper around the mock package for easier use with py.test

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


Branch: CURRENT, Version: 1.10.0, Package name: py27-test-mock-1.10.0, Maintainer: pkgsrc-users

This plugin installs a mocker fixture which is a thin-wrapper around
the patching API provided by the mock package, but with the benefit
of not having to worry about undoing patches at the end of a test.


Required to run:
[devel/py-setuptools] [devel/py-mock] [lang/python27] [devel/py-test]

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

Master sites:

SHA1: edecf32a6b8cf1b2c68baae250cca587692a6d79
RMD160: 9ab751d71f42dd813614a1e9fff702f9484bd20c
Filesize: 20.268 KB

Version history: (Expand)


CVS history: (Expand)


   2018-05-02 09:33:45 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-mock: updated to 1.10.0

1.10.0:
Add support for the recently added assert_called method in Python 3.6 and mock-2.0.
   2018-04-11 21:51:41 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-mock: updated to 1.9.0

1.9.0
Add support for the recently added assert_called_once method in Python 3.6 and \ 
mock-2.0.
   2018-04-07 22:02:39 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-mock: updated to 1.8.0

1.8.0
Add aliases for NonCallableMock and create_autospec to mocker.
   2018-03-02 12:39:17 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-mock: updated to 1.7.1

1.7.1:
Fix setup.py to correctly read the README.rst.
   2018-02-22 10:49:46 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-test-mock: updated to 1.7.0

1.7.0:
Incompatible change
pytest-mock no longer supports Python 2.6 and Python 3.3, following the lead of \ 
pytest and other projects in the community.

Packaging
Fix mock requirement in Python 2.

Internal
Some tests in pytest-mock's suite are skipped if assertion rewriting is disabled
   2017-09-18 19:01:25 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-test-mock: update to 1.6.3

1.6.3
* Fix ``UnicodeDecodeError`` during assert introspection in \ 
``assert_called_with`` in Python 2.
   2017-07-18 07:02:03 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
1.6.2:
* Provide source package in ``tar.gz`` format and remove obsolete ``MANIFEST.in``.

1.6.1:
* Fix ``mocker.resetall()`` by ignoring mocker objects which don't have a
  ``resetall`` method, like for example ``patch.dict``.
   2017-04-14 09:13:51 by Thomas Klausner | Files touched by this commit (1)
Log message:
BUILD_DEPEND on setuptools_scm for joerg.