diff --git a/app/api/v1/auth.py b/app/api/v1/auth.py index 637cc44..f60d5bb 100644 --- a/app/api/v1/auth.py +++ b/app/api/v1/auth.py @@ -20,13 +20,12 @@ from app.core.ratelimit import enforce_rate_limit from app.core.security import ( TokenError, create_bind_ticket, - decode_bind_ticket, decode_token, issue_token_pair, ) +from app.integrations import wxpay from app.integrations.jiguang import JiguangError, mask_phone, verify_and_get_phone from app.integrations.sms import SmsError, send_code, verify_code -from app.integrations import wxpay from app.repositories import onboarding as onboarding_repo from app.repositories import user as user_repo from app.schemas.auth import ( diff --git a/tests/test_wechat_login.py b/tests/test_wechat_login.py index 80effb5..44b4868 100644 --- a/tests/test_wechat_login.py +++ b/tests/test_wechat_login.py @@ -8,7 +8,6 @@ from __future__ import annotations import pytest -from app.api.v1 import auth from app.core import security from app.integrations import wxpay