Skip to content

Commit

Permalink
feat: 增加windows依赖,和修复笔记id判断
Browse files Browse the repository at this point in the history
  • Loading branch information
mario committed Sep 10, 2024
1 parent 4306353 commit 526bf03
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions requirements-windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
aiosqlite==0.20.0
annotated-types==0.7.0
anyio==4.4.0
beautifulsoup4==4.12.3
certifi==2024.7.4
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
dnspython==2.6.1
email_validator==2.2.0
fastapi==0.111.1
fastapi-cli==0.0.4
h11==0.14.0
httpcore==1.0.5
httptools==0.6.1
httpx==0.27.0
idna==3.7
Jinja2==3.1.4
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
pydantic==2.8.2
pydantic_core==2.20.1
PyExecJS==1.5.1
Pygments==2.18.0
python-dotenv==1.0.1
python-multipart==0.0.9
PyYAML==6.0.1
requests==2.32.3
rich==13.7.1
shellingham==1.5.4
six==1.16.0
sniffio==1.3.1
soupsieve==2.5
starlette==0.37.2
typer==0.12.3
typing_extensions==4.12.2
urllib3==2.2.2
uvicorn==0.30.3
watchfiles==0.22.0
websockets==12.0
2 changes: 1 addition & 1 deletion test/xhs.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def test_detail(self):
response = requests.get(f'{HOST}/xhs/detail', params=param)
self.assertEqual(response.status_code, 200)
self.assertEqual(response.json()['code'], 0)
self.assertEqual(response.json()['data']['items'][0]['id'], param['id'])
self.assertEqual(response.json()['data']['note']['noteId'], param['id'])

# 获取评论接口
def test_comments(self):
Expand Down

0 comments on commit 526bf03

Please sign in to comment.