Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 13, 2024
1 parent a108d23 commit 12695d5
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions oauthenticator/tests/test_generic.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import jwt
from functools import partial

import jwt
from pytest import fixture, mark
from traitlets.config import Config

Expand Down Expand Up @@ -77,8 +77,12 @@ def get_authenticator_variant(generic_client, userdata_from_id_token):
http_client can't be configured, only passed as argument to the constructor.
"""
return partial(
_get_authenticator_for_id_token if userdata_from_id_token else _get_authenticator,
http_client=generic_client
(
_get_authenticator_for_id_token
if userdata_from_id_token
else _get_authenticator
),
http_client=generic_client,
)


Expand Down

0 comments on commit 12695d5

Please sign in to comment.