File tree Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Expand file tree Collapse file tree 3 files changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ fastapi[standard]==0.115.6
1212firebase-admin==6.5.0 # Firebase is used for push notification
1313google-auth-oauthlib==1.2.1
1414helloasso-python==1.0.5
15+ httpx==0.27.0
1516icalendar==5.0.13
1617jellyfish==1.0.4 # String Matching
1718Jinja2==3.1.6 # template engine for html files
@@ -25,7 +26,6 @@ pypdf==4.3.1
2526python-dotenv==1.0.1 # load environment variables from .env file
2627python-multipart==0.0.18 # a form data parser, as oauth flow requires form-data parameters
2728redis==5.0.8
28- requests==2.32.4
2929sqlalchemy-utils == 0.41.2
3030SQLAlchemy[asyncio]==2.0.32 # [asyncio] allows greenlet to be installed on Apple M1 devices.
3131unidecode==1.3.8
Original file line number Diff line number Diff line change 22aiosqlite == 0.20.0
33boto3-stubs [essential ]== 1.38.23
44google-auth-stubs == 0.3.0
5- httpx == 0.27.0 # needed for tests as a replacement of requests in TestClient
65mypy [faster-cache ]== 1.16.0
76pytest-alembic == 0.12.1
87pytest-asyncio == 0.26.0
@@ -15,4 +14,3 @@ types-Authlib==1.5.0.20250516
1514types-fpdf2 == 2.8.3.20250516
1615types-psutil == 7.0.0.20250601
1716types-redis == 4.6.0.20241004
18- types-requests == 2.32.0.20250515
Original file line number Diff line number Diff line change 1212 HelloAssoApiV5ModelsCartsInitCheckoutResponse ,
1313)
1414from pytest_mock import MockerFixture
15- from requests import Response
1615from sqlalchemy .ext .asyncio import AsyncSession
1716
1817from app .core .payment import cruds_payment , models_payment , schemas_payment
@@ -495,8 +494,6 @@ def init_a_checkout_side_effect(
495494 init_checkout_body : HelloAssoApiV5ModelsCartsInitCheckoutBody ,
496495 ):
497496 if init_checkout_body .payer is not None :
498- r = Response ()
499- r .status_code = 400
500497 raise UnauthorizedException
501498 return HelloAssoApiV5ModelsCartsInitCheckoutResponse (
502499 id = 7 ,
You can’t perform that action at this time.
0 commit comments