Skip to content

Commit 9bff803

Browse files
committed
fix: 라이브러리 버전 고정 및 테스트코드 업데이트
1 parent 051b4a1 commit 9bff803

3 files changed

Lines changed: 15 additions & 15 deletions

File tree

requirements-dev.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
-r requirements.txt
22

3-
pytest
4-
pytest-cov
3+
pytest==9.0.3
4+
pytest-cov==7.1.0

requirements.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
fastapi[standard]
2-
itsdangerous
3-
scalar-fastapi
4-
sqlalchemy
5-
geoalchemy2
6-
pymysql
7-
argon2-cffi
8-
python-dotenv
9-
cuid2
10-
redis
11-
geopandas
12-
gdown
1+
fastapi[standard]==0.137.1
2+
itsdangerous==2.2.0
3+
scalar_fastapi==1.8.2
4+
SQLAlchemy==2.0.50
5+
GeoAlchemy2==0.20.0
6+
PyMySQL==1.2.0
7+
argon2-cffi==25.1.0
8+
python-dotenv==1.2.2
9+
cuid2==2.0.1
10+
redis==8.0.0
11+
geopandas==1.1.3
12+
gdown==6.1.0

tests/test_recommendations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ def test_get_recommendation_summary_redirect(
448448
# 2. 요약 조회 요청 (prefix로 요청)
449449
response = client.get("/recommendations/unique_ta", follow_redirects=False)
450450
assert response.status_code == 302
451-
assert response.headers.get("location") == "/recommendations/unique_task_id"
451+
assert response.headers.get("location").endswith("/unique_task_id")
452452

453453

454454
@patch("app.dependencies.get_user_by_cuid")

0 commit comments

Comments
 (0)