Releases: ollipa/chainmock
Releases · ollipa/chainmock
v1.0.0
v0.11.0
Added
- Stubs with spec pass isinstance test with the spec object.
Changed
- Raise an
AttributeError
ifreturn_value
orside_effect
is called when
spying.
Fixed
- Fix spec defined as a list of strings fails with
AttributeError
.
Infrastructure
- Add Pytest 8 to the test matrix.
v0.10.0
Added
- Add
Mock.get_mock
method. - Add support for mocking class attributes.
- Add support for mocking instance attributes.
Changed
- Patch
TextResult
class instead ofTextTestResult
class inunittest
integration.
Infrastructure
- Add CI testing for Python 3.13.
- Update Readthedocs configuration.
v0.9.0
Added
- Add
unittest
integration.
Changed
- Remove
pytest
from dependencies. Chainmock now works also withunittest
sopytest
is not a required dependency anymore.
Removed
- Drop support for pytest v6.0 and v6.1.
Infrastructure
- Add pypy3.10 to tox test run.
Documentation
- Add overview, user guide, contributing and changelog sections to documentation.