Skip to content

Commit

Permalink
merge pull request #50 from fphammerle/dependabot/pip/pylint-2.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fphammerle committed Jun 5, 2022
2 parents c56cc14 + 9d9d427 commit fd0d0b6
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 47 deletions.
98 changes: 53 additions & 45 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions tests/test_photo_command.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_send_photo(caplog, wikimap_photos):
"/H%C3%BCtteltalkopf_%28Venedigergruppe%29_from_Tristkopf.jpg"
)
update_mock.effective_chat.send_photo.assert_called_once_with(
photo=http_response_mock.__enter__(),
photo=http_response_mock.__enter__(), # pylint: disable=unnecessary-dunder-call
caption="Wo wurde dieses Photo aufgenommen?",
)
assert context_mock.chat_data == {
Expand Down Expand Up @@ -96,7 +96,7 @@ def test_send_solution_and_next_photo(caplog, wikimap_photos):
"https://upload.wikimedia.org/wikipedia/commons/6/65/Gro%C3%9Fvenediger3.JPG"
)
update_mock.effective_chat.send_photo.assert_called_once_with(
photo=http_response_mock.__enter__(),
photo=http_response_mock.__enter__(), # pylint: disable=unnecessary-dunder-call
caption="Wo wurde dieses Photo aufgenommen?",
)
assert context_mock.chat_data == {
Expand Down

0 comments on commit fd0d0b6

Please sign in to comment.