forked from homedepot/flow
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed #11
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mend-for-github-com
bot
changed the title
Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0
Jan 26, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
May 1, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
[NEUTRAL] Update dependency pytest-mock to v1.13.0
May 3, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
May 15, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
[NEUTRAL] Update dependency pytest-mock to v1.13.0
May 16, 2024
mend-for-github-com
bot
restored the
whitesource-remediate/pytest-mock-1.x
branch
May 16, 2024 05:45
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
May 19, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
[NEUTRAL] Update dependency pytest-mock to v1.13.0
May 20, 2024
mend-for-github-com
bot
restored the
whitesource-remediate/pytest-mock-1.x
branch
May 20, 2024 06:11
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
May 22, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
[NEUTRAL] Update dependency pytest-mock to v1.13.0
May 23, 2024
mend-for-github-com
bot
restored the
whitesource-remediate/pytest-mock-1.x
branch
May 23, 2024 05:42
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
May 29, 2024
mend-for-github-com
bot
restored the
whitesource-remediate/pytest-mock-1.x
branch
June 3, 2024 05:36
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
[NEUTRAL] Update dependency pytest-mock to v1.13.0
Jun 3, 2024
mend-for-github-com
bot
changed the title
[NEUTRAL] Update dependency pytest-mock to v1.13.0
[NEUTRAL] Update dependency pytest-mock to v1.13.0 - autoclosed
Jul 1, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==1.2
->==1.13.0
Release Notes
pytest-dev/pytest-mock (pytest-mock)
v1.13.0
Compare Source
mocker.spy
now also tracks any side effectof the spied method/function.
v1.12.1
Compare Source
mocker.patch
is used in code where the source fileis not available, for example stale
.pyc
files (#169
_)... _#169:https://github.com/pytest-dev/pytest-mock/issues/169#issuecomment-5557292655
v1.12.0
Compare Source
ValueError
when usedas a context-manager. Thanks
@AlexGascon
_ for the PR (#168
_)... _@AlexGascon: https://github.com/AlexGascon
.. https://github.com/pytest-dev/pytest-mock/pull/168pull/168
v1.11.2
Compare Source
The pytest introspection follows message is no longer shown
if there is no pytest introspection (
#154
).Thanks
@The-Compiler
for the report.mocker
now raises aValueError
when used as a context-manager.Thanks
@binarymason
_ for the PR (#165
_)... _#154:https://github.com/pytest-dev/pytest-mock/issues/1544
.. _#165https://github.com/pytest-dev/pytest-mock/pull/16565
.. _@binarymason: https://github.com/binarymason
v1.11.1
Compare Source
mocker.spy
on Python 2 when used on non-function objectswhich implement
__call__
(#157
). Thanks@pbasista
forthe report.
.. _#157:https://github.com/pytest-dev/pytest-mock/issues/1577
.. _@pbasista: https://github.com/pbasista
v1.11.0
Compare Source
mocker.spy
now also tracks the return valueof the spied method/function.
v1.10.4
Compare Source
v1.10.3
Compare Source
@hroncok
_ for the report and@blueyed
_ for the PR (#140
_)... _#140:https://github.com/pytest-dev/pytest-mock/pull/1400
.. _@hroncok: https://github.com/hroncok
v1.10.2
Compare Source
patch.stopall
is done explicitly byuser code. Thanks
@craiga
_ for the report (#137
_)... _#137:https://github.com/pytest-dev/pytest-mock/issues/1377
.. _@craiga: https://github.com/craiga
v1.10.1
Compare Source
black <https://github.com/ambv/black>
__.v1.10.0
Compare Source
assert_called
method in Python 3.6 andmock-2.0
. Thanks@rouge8
_ for the PR (#115
_)... _#115:https://github.com/pytest-dev/pytest-mock/pull/1155
v1.9.0
Compare Source
assert_called_once
method in Python 3.6 andmock-2.0
. Thanks@rouge8
_ for the PR (#113
_)... _#113:https://github.com/pytest-dev/pytest-mock/pull/1133
v1.8.0
Compare Source
NonCallableMock
andcreate_autospec
tomocker
. Thanks@mlhamel
_ for the PR (#111
_)... _#111:https://github.com/pytest-dev/pytest-mock/pull/1111
v1.7.1
Compare Source
setup.py
to correctly read theREADME.rst
. Thanks@ghisvail
_ for the fix (#107
_)... _#107:https://github.com/pytest-dev/pytest-mock/issues/1077
v1.7.0
Compare Source
Incompatible change
pytest-mock
no longer supports Python 2.6 and Python 3.3, following the lead ofpytest
and other projects in the community. Thanks@hugovk
_ for the PR (#96
_).Packaging
mock
requirement in Python 2. Thanks@ghisvail
_ for the report (#101
_).Internal
pytest-mock
's suite are skipped if assertion rewriting is disabled (#102
_)... _@ghisvail: https://github.com/ghisvail
.. _@hugovk: https://github.com/hu[https://github.com/pytest-dev/pytest-mock/pull/96](https://github.com/pytest-dev/pytest-mock/pull/96)st-mock/pul[https://github.com/pytest-dev/pytest-mock/issues/101](https://github.com/pytest-dev/pytest-mock/issues/101)-mock/issue[https://github.com/pytest-dev/pytest-mock/issues/102](https://github.com/pytest-dev/pytest-mock/issues/102)t-mock/issues/102
v1.6.3
Compare Source
UnicodeDecodeError
during assert introspection inassert_called_with
in Python 2.Thanks
@AndreasHogstrom
_ for the report (#91
_)... _@AndreasHogstrom: https://github.com/AndreasHogstrom
.. _#91:https://github.com/pytest-dev/pytest-mock/issues/911
v1.6.2
Compare Source
tar.gz
format and remove obsoleteMANIFEST.in
.v1.6.1
Compare Source
mocker.resetall()
by ignoring mocker objects which don't have aresetall
method, like for examplepatch.dict
.Thanks
@jdavisp3
_ for the PR (#88
_)... _@jdavisp3: https://github.com/jdavisp3
.. _#88:https://github.com/pytest-dev/pytest-mock/pull/888
v1.6.0
Compare Source
Mock.assert_*
methodsnow appear in the failure message, in addition to the message obtained from
pytest introspection.
Thanks
@quodlibetor
_ for the initial patch (#79
_)... _@quodlibetor: https://github.com/quodlibetor
.. _#79:https://github.com/pytest-dev/pytest-mock/pull/799
v1.5.0
Compare Source
mocker.mock_module
variable points to the underlying mock module being used(
unittest.mock
ormock
).Thanks
@blueyed
_ for the request (#71
_)... _#71:https://github.com/pytest-dev/pytest-mock/pull/711
v1.4.0
Compare Source
New configuration variable,
mock_use_standalone_module
(defaults toFalse
). This forcesthe plugin to import
mock
instead ofunittest.mock
on Python 3. This is useful to importa newer version than the one available in the Python distribution.
Previously the plugin would first try to import
mock
and fallback tounittest.mock
in case of an
ImportError
, but this behavior has been removed because it could hidehard to debug import errors (
#68
_).Now
mock
(Python 2) andunittest.mock
(Python 3) are lazy-loaded to make it possible toimplement the new
mock_use_standlone_module
configuration option. As a consequence of thisthe undocumented
pytest_mock.mock_module
variable, which pointed to the actual mock modulebeing used by the plugin, has been removed.
DEFAULT <https://docs.python.org/3/library/unittest.mock.html#default>
_ is now available fromthe
mocker
fixture... _#68:https://github.com/pytest-dev/pytest-mock/issues/688
v1.3.0
Compare Source
Add support for Python 3.6. Thanks
@hackebrot
_ for the report (#59
_).mock.mock_open
is now aliased asmocker.mock_open
for convenience.Thanks
@pokidovea
_ for the PR (#66
_)... _@hackebrot: https://github.com/hackebrot
.. _@pokidovea: https://github.com/pokid[https://github.com/pytest-dev/pytest-mock/issues/59](https://github.com/pytest-dev/pytest-mock/issues/59)-mock/issu[https://github.com/pytest-dev/pytest-mock/pull/66](https://github.com/pytest-dev/pytest-mock/pull/66)est-mock/pull/66
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.