Skip to content

Conversation

@dependabot-preview
Copy link

Bumps mockito from 0.5.2 to 1.2.2.

Changelog

Sourced from mockito's changelog.

Release 1.2.2 (September 9, 2020)

  • Fix typo in spy2 doc

Release 1.2.1 (February 19, 2020)

  • @nielsvaneck fixed how we can lookup inherited classmethods.

Release 1.2.0 (November 25, 2019)

  • Code base now is python 3 compatible. No 2to3 anymore.

  • Fine tune error messages on unexpected calls or verifications. E.g. if you expect when(dog).bark('Wuff') but on call time do dog.bark('Wufff'). Likewise, if you call dog.bark('Miau') and then verify(dog).bark('Maui').

  • @felixonmars fixed a small compatibility issue with python 3.8

  • Mocking properties has become a bit easier. (#26) E.g.

    prop = mock() when(m).get(...).thenReturn(23) m = mock({'name': prop})

Release 1.1.1 (August 28, 2018)

  • Fix: The context manager (with) has now a proper implementation
  • Fix: Calling patch with two arguments can now be used with with
  • Fix: Do not treat the placeholder arguments (Ellipsis, args, kwargs) as special on call time anymore. (T.i. they only have a meaning when stubbing or verifying.)
  • Enhancement: Changed some truthy or equality tests to identity (is) tests. This reduces edge-cases where some user object defines __eq__ or __bool__. (Hello numpy!)

Release 1.1.0 (May 2, 2018)

This is generally useful if you already call mocks during your setup routine. Now you could call forget_invocations at the end of your setup, and have a clean 'recording' for your actual test code. T.i. you don't have to count the invocations from your setup code anymore.

Release 1.0.12 (June 3, 2017)

  • Better error messages for failed verifications. By @lwoydziak
Commits
  • e4c5ec8 Bump version to 1.2.2
  • 642b772 Update CHANGELOG
  • 1009fbe Fix spelling error in spy2 doc
  • 14a978f master is 1.2.2-dev
  • 7a7d85b Bump version to 1.2.1
  • 61fc9ab Update CHANGELOG
  • c1d6323 Merge pull request #34 from nielsvaneck/inherited_class_methods_issue
  • a8207eb Incorporate kaste's suggested tests
  • 32d3e7e Fix: Delete added classmethods on unstub
  • 83c4a10 Add inherited class method tests
  • Additional commits viewable in compare view

Dependabot compatibility score

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 commands and options

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 squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor 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:

  • Update frequency (including time of day and day of week)
  • 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)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant