Skip to content

Commit

Permalink
Workaround for pylint bug
Browse files Browse the repository at this point in the history
  • Loading branch information
fluffy-critter committed Jul 8, 2021
1 parent dc53e06 commit 449763c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/handlers/test_fediverse.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ def test_auth_success(mocker, requests_mock):
assert isinstance(result, disposition.Verified)
assert result.identity == 'https://mastodon.example/@moo'
assert result.redir == 'qwerpoiu'
assert result.profile == {
assert result.profile == { # pylint:disable=no-member
# https://github.com/PyCQA/pylint/issues/4693
'name': 'moo friend',
'bio': 'a cow',
'avatar': 'https://placekitten.com/1280/1024',
Expand Down

0 comments on commit 449763c

Please sign in to comment.