Skip to content

Commit

Permalink
Fix tests expectations with latest pytest (#151)
Browse files Browse the repository at this point in the history
Fix tests expectations with latest pytest
  • Loading branch information
nicoddemus authored Jul 1, 2019
2 parents b6461ee + 970e4b1 commit 189cc59
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test_pytest_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ def test(mocker):
"*Use -v to get the full diff*",
"*Kwargs:*",
"*assert {} == {'bar': 4}*",
"*Right contains more items:*",
"*Right contains* more item*",
"*{'bar': 4}*",
"*Use -v to get the full diff*",
]
Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ commands =

[testenv:norewrite]
commands =
pytest test_pytest_mock.py --assert=plain -ra
pytest test_pytest_mock.py --assert=plain

[testenv:linting]
skipsdist = True
Expand All @@ -20,7 +20,7 @@ basepython = python3.6
commands = pre-commit run --all-files --show-diff-on-failure

[pytest]
addopts = -ra
addopts = -r a

[flake8]
max-line-length = 88

0 comments on commit 189cc59

Please sign in to comment.