Skip to content

Commit

Permalink
test: 修改测试用例的代理配置
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnserf-Seed committed Apr 12, 2024
1 parent 67d55db commit a17a116
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
import pytest
from f2.dl.base_downloader import BaseDownloader

kwargs = {"headers": {"User-Agent": "", "Referer": ""}, "cookie": ""}
kwargs = {
"headers": {"User-Agent": "", "Referer": ""},
"proxies": {"http://": None, "https://": None},
"cookie": "",
}


# 使用 Pytest 的 asyncio 装饰器标记异步测试函数
Expand Down

0 comments on commit a17a116

Please sign in to comment.