Skip to content

Commit

Permalink
build(deps): bump pytest-mock from 1.11.2 to 3.5.1 (iterative#5705)
Browse files Browse the repository at this point in the history
* build(deps): bump pytest-mock from 1.11.2 to 3.5.1

Bumps [pytest-mock](https://github.com/pytest-dev/pytest-mock) from 1.11.2 to 3.5.1.
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v1.11.2...v3.5.1)

Signed-off-by: dependabot[bot] <[email protected]>

* change spy.return_value to spy.spy_return

This was introduced in pytest-mock 2.0.0
pytest-dev/pytest-mock@7849964

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Saugat Pachhai (सौगात) <[email protected]>
  • Loading branch information
dependabot[bot] and skshetry authored Mar 26, 2021
1 parent fae5709 commit 7b922d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ wheel==0.36.2
pytest==6.2.2
pytest-cov==2.11.1
pytest-xdist==2.2.1
pytest-mock==1.11.2
pytest-mock==3.5.1
pytest-lazy-fixture==0.6.3
pytest-timeout==1.4.2
pytest-docker==0.10.1
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_external_repo.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_subrepo_is_constructed_properly(

list(repo.repo_fs.walk(repo.root_dir)) # drain
assert spy.call_count == 1
subrepo = spy.return_value
subrepo = spy.spy_return

assert repo.url == str(tmp_dir)
assert repo.config["cache"]["dir"] == str(cache_dir)
Expand Down

0 comments on commit 7b922d0

Please sign in to comment.