Revisions of python-flexmock
Ana Guerrero (anag+factory)
accepted
request 1129215
from
Dirk Mueller (dirkmueller)
(revision 7)
- update to 0.11.3: * Add PEP 561 `py.typed` marker file. * Re-organize unit tests. * Add a warning about the usage of `.new_instances()` method in the documentation. * Run tests with testtools, subunit, TeamCity, and doctest testrunners using tox. * Test flexmock API examples using doctest. * Re-add Sphinx support for generating man pages. * Fix 404 page not loading CSS and Javascript resources in documentation. * Add Python 3.8, 3.9, 3.10, and 3.11 support. * Add type annotations. * **BREAKING CHANGE**: Flexmock needs to be imported explicitly using `from flexmock import flexmock`. * Many error messages have been improved. * Drop Python 2.7, 3.4, 3.5 support. * Drop Pytest 4.x support. * **BREAKING CHANGE**: Removed support for calling `once`, `twice`, `never`, and `mock` methods without parentheses. * Fix `should_call` is broken if called on a fake object. * Fix `and_raise` allows invalid arguments for an exception. * Fix AttributeError raised when mocking a proxied object. * Fix flexmock not mocking methods properly on derived classes. * Fix with_args not working built-in functions. - Initial package
Dominique Leuenberger (dimstar_suse)
accepted
request 1085448
from
Dirk Mueller (dirkmueller)
(revision 6)
Dominique Leuenberger (dimstar_suse)
accepted
request 915211
from
Steve Kowalik (StevenK)
(revision 5)
- Update to 0.10.8: * Fix with_args not working built-in functions. - Update to 0.10.7: - Fix ``with_args`` not working built-in functions and methods. - Fix previous pytest ``--durations`` fix not working. - from version 0.10.6 - Fix flexmock broken with Pytest 4 & 5. - Fix new_instances method not working with Python 2.7. - Fix multiple expectations for the same classmethod are not matched. - from version 0.10.5 - Improve error message on unmatched method signature expectation. - Fix using ``should_call`` passes wrong ``runtime_self``. - Fix pytest ``--durations`` flag when flexmock is installed.
Dominique Leuenberger (dimstar_suse)
accepted
request 689382
from
Tomáš Chvátal (scarabeus_iv)
(revision 4)
- Update to 0.10.4: - drop Python 2.6, 3.3 and Jython support - add Python 3.6 and 3.7 support - don't hide exception when flexmock is used as context manager - fix expectation reset for static methods on pypy 2 - ensure original exception isn't suppressed in pytest hook
Dominique Leuenberger (dimstar_suse)
accepted
request 684399
from
Tomáš Chvátal (scarabeus_iv)
(revision 3)
- Update to 0.10.3: - fix compatibility with py.test 4.1 - minor documentation fixes
Dominique Leuenberger (dimstar_suse)
accepted
request 522162
from
Todd R (TheBlackCat)
(revision 1)
singlespec version of python3-flexmock, which is already in openSUSE:Factory
Displaying all 7 revisions