Skip to content

Commit 9f8ce24

Browse files
committed
Format OIDC middleware tests
Apply Ruff formatting so the accounts validation job can complete.
1 parent 9cc1926 commit 9f8ce24

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

src/thunderbird_accounts/authentication/tests/test_middleware.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,10 @@
1919
AccountsOIDCBackend,
2020
refresh_user_access_token,
2121
OIDCRefreshSession,
22-
EXIT_STATE_KEY, OIDC_ACCESS_TOKEN_KEY, OIDC_REFRESH_TOKEN_KEY, OIDC_ID_TOKEN_EXP_KEY,
22+
EXIT_STATE_KEY,
23+
OIDC_ACCESS_TOKEN_KEY,
24+
OIDC_REFRESH_TOKEN_KEY,
25+
OIDC_ID_TOKEN_EXP_KEY,
2326
)
2427
from thunderbird_accounts.authentication.models import User
2528
from thunderbird_accounts.authentication.models import AllowListEntry
@@ -160,7 +163,7 @@ def test_allow_post_reauth_does_not_happen_without_feature_flag(self, mock_post:
160163
# Access token check
161164
SimpleNamespace(raise_for_status=lambda: None, json=lambda: {'active': False}),
162165
# Refreshing access token
163-
AssertionError('This request should not happen!')
166+
AssertionError('This request should not happen!'),
164167
]
165168

166169
request = self.factory.post('/')

0 commit comments

Comments
 (0)