Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Update pytest-mock to 1.5.0 #104

Closed
wants to merge 1 commit into from

Conversation

pyup-bot
Copy link
Contributor

There's a new version of pytest-mock available.
You are currently using 1.3.0. I have updated it to 1.5.0

These links might come in handy: PyPI | Changelog | Repo

Changelog

1.5.0


  • New mocker.mock_module variable points to the underlying mock module being used
    (unittest.mock or mock).
    Thanks blueyed_ for the request (71_).

.. _71: pytest-dev/pytest-mock#71

1.4.0


  • New configuration variable, mock_use_standalone_module (defaults to False). This forces
    the plugin to import mock instead of unittest.mock on Python 3. This is useful to import
    a newer version than the one available in the Python distribution.
  • Previously the plugin would first try to import mock and fallback to unittest.mock
    in case of an ImportError, but this behavior has been removed because it could hide
    hard to debug import errors (68_).
  • Now mock (Python 2) and unittest.mock (Python 3) are lazy-loaded to make it possible to
    implement the new mock_use_standlone_module configuration option. As a consequence of this
    the undocumented pytest_mock.mock_module variable, which pointed to the actual mock module
    being used by the plugin, has been removed.
  • DEFAULT <https://docs.python.org/3/library/unittest.mock.htmldefault>_ is now available from
    the mocker fixture.

.. _68: pytest-dev/pytest-mock#68

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@mozilla-autolander-deprecated

Autolander could not find a bug number in your pull request title. All pull requests should be in the format of: Bug [number] - [description].

@codecov-io
Copy link

codecov-io commented Jan 13, 2017

Current coverage is 78.27% (diff: 100%)

Merging #104 into master will not change coverage

@@             master       #104   diff @@
==========================================
  Files            40         40          
  Lines          1169       1169          
  Methods           0          0          
  Messages          0          0          
  Branches        122        122          
==========================================
  Hits            915        915          
  Misses          230        230          
  Partials         24         24          

Powered by Codecov. Last update 7051fb7...74002d0

@jezdez jezdez closed this Jan 17, 2017
@jezdez jezdez deleted the pyup-update-pytest-mock-1.3.0-to-1.5.0 branch January 17, 2017 10:34
jezdez pushed a commit that referenced this pull request Jan 16, 2019
Bumps [markupsafe](https://github.com/pallets/markupsafe) from 1.0 to 1.1.0.
<details>
<summary>Changelog</summary>

*Sourced from [markupsafe's changelog](https://github.com/pallets/markupsafe/blob/master/CHANGES.rst).*

> Version 1.1.0
> -------------
> 
> Released 2018-11-05
> 
> -   Drop support for Python 2.6 and 3.3.
> -   Build wheels for Linux, Mac, and Windows, allowing systems without
>     a compiler to take advantage of the C extension speedups. (`#104`_)
> -   Use newer CPython API on Python 3, resulting in a 1.5x speedup.
>     (`#64`_)
> -   ``escape`` wraps ``__html__`` result in ``Markup``, consistent with
>     documented behavior. (`#69`_)
> 
> .. _#64: https://github-redirect.dependabot.com/pallets/markupsafe/pull/64
> .. _#69: https://github-redirect.dependabot.com/pallets/markupsafe/pull/69
> .. _#104: https://github-redirect.dependabot.com/pallets/markupsafe/pull/104
> 
> 
> Version 1.0
> -----------
> 
> Released 2017-03-07
> 
> -   Fixed custom types not invoking ``__unicode__`` when used with
>     ``format()``.
> -   Added ``__version__`` module attribute.
> -   Improve unescape code to leave lone ampersands alone.
> 
> 
> Version 0.18
> ------------
> 
> Released 2013-05-22
> 
> -   Fixed ``__mul__`` and string splitting on Python 3.
> 
> 
> Version 0.17
> ------------
> 
> Released 2013-05-21
> 
> -   Fixed a bug with broken interpolation on tuples.
> 
> 
> Version 0.16
> ------------
> 
> Released 2013-05-20
> 
></table> ... (truncated)
</details>
<details>
<summary>Commits</summary>

- [`9963f3d`](pallets/markupsafe@9963f3d) update docs link
- [`c81ffeb`](pallets/markupsafe@c81ffeb) Merge pull request [#107](https://github-redirect.dependabot.com/pallets/markupsafe/issues/107) from pallets/release-1-1-0
- [`cb06e16`](pallets/markupsafe@cb06e16) release 1.1.0
- [`09f4fc0`](pallets/markupsafe@09f4fc0) fix exclude pyc files
- [`3ca906f`](pallets/markupsafe@3ca906f) add changelog and license to docs
- [`ab4f863`](pallets/markupsafe@ab4f863) fix project link
- [`bf98b91`](pallets/markupsafe@bf98b91) Merge pull request [#106](https://github-redirect.dependabot.com/pallets/markupsafe/issues/106) from pallets/style
- [`b41c96e`](pallets/markupsafe@b41c96e) add style checks
- [`6247e01`](pallets/markupsafe@6247e01) update project files
- [`d9270db`](pallets/markupsafe@d9270db) Merge pull request [#105](https://github-redirect.dependabot.com/pallets/markupsafe/issues/105) from pallets/appveyor-cibuildwheel
- Additional commits viewable in [compare view](pallets/markupsafe@1.0...1.1.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=markupsafe&package-manager=pip&previous-version=1.0&new-version=1.1.0)](https://dependabot.com/compatibility-score.html?dependency-name=markupsafe&package-manager=pip&previous-version=1.0&new-version=1.1.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

---

**Note:** This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.

You can always request more updates by clicking `Bump now` in your [Dependabot dashboard](https://app.dependabot.com).

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
jezdez pushed a commit that referenced this pull request Jan 21, 2019
Bumps [celery-redbeat](https://github.com/sibson/redbeat) from 0.11.1 to 0.12.0.
<details>
<summary>Changelog</summary>

*Sourced from [celery-redbeat's changelog](https://github.com/sibson/redbeat/blob/master/CHANGES.txt).*

> 0.12.0 (2018-12-06)
> --------------------
>   - better Celery 4 support, thanks [**az-wegift**](https://github.com/az-wegift)
>   - configurably, automatically reconnect to Redis on timeout error rather than terminate, thanks [**az-wegift**](https://github.com/az-wegift)
>   - password support for Redis Sentinal connections, thanks [**az-wegift**](https://github.com/az-wegift)
>   - bugfix, rrule serialization under Celery 3, thanks [**noamkush**](https://github.com/noamkush)
</details>
<details>
<summary>Commits</summary>

- [`9831499`](sibson/redbeat@9831499) bump version to 0.12.0
- [`80758c2`](sibson/redbeat@80758c2) Merge pull request [#104](https://github-redirect.dependabot.com/sibson/redbeat/issues/104) from noamkush/redis_version
- [`b76a67c`](sibson/redbeat@b76a67c) Added version specifier for redis-py.
- [`97223a6`](sibson/redbeat@97223a6) Merge pull request [#80](https://github-redirect.dependabot.com/sibson/redbeat/issues/80) from wegift/retrying
- [`90cfbe9`](sibson/redbeat@90cfbe9) Reconnect to Redis on connection or time-out error
- [`8635a28`](sibson/redbeat@8635a28) Merge pull request [#96](https://github-redirect.dependabot.com/sibson/redbeat/issues/96) from wegift/celery-version
- [`7c69f18`](sibson/redbeat@7c69f18) Fix interpreting Celery version (sibson/redbeat#89)
- [`3c5c6e2`](sibson/redbeat@3c5c6e2) Add .pytest_cache to .gitignore
- [`7a4c254`](sibson/redbeat@7a4c254) Fix celery4 unit tests
- [`76d681c`](sibson/redbeat@76d681c) more 3.x version bumps
- See full diff in [compare view](sibson/redbeat@v0.11.1...v0.12.0)
</details>
<br />

[![Dependabot compatibility score](https://api.dependabot.com/badges/compatibility_score?dependency-name=celery-redbeat&package-manager=pip&previous-version=0.11.1&new-version=0.12.0)](https://dependabot.com/compatibility-score.html?dependency-name=celery-redbeat&package-manager=pip&previous-version=0.11.1&new-version=0.12.0)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

</details>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants