Skip to content

Commit

Permalink
chore(lint): squeeze stray code into 80 columns
Browse files Browse the repository at this point in the history
  • Loading branch information
vit-zikmund committed Apr 24, 2024
1 parent 5575147 commit c0a7963
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/auth/test_github.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,12 @@ def test_github_identity_core() -> None:
user_dict = DEFAULT_USER_DICT | {"other_field": "other_value"}
cache_cfg = DEFAULT_CONFIG.cache
user = gh.GithubIdentity.from_dict(user_dict, cc=cache_cfg)
assert (user.id, user.github_id, user.name, user.email) == DEFAULT_USER_ARGS
assert (
user.id,
user.github_id,
user.name,
user.email,
) == DEFAULT_USER_ARGS
assert all(arg in repr(user) for arg in DEFAULT_USER_ARGS[:3])
assert hash(user) == hash((user.id, user.github_id))

Expand Down

0 comments on commit c0a7963

Please sign in to comment.