mirror of
https://github.com/ThePhaseless/Byparr.git
synced 2025-03-15 09:50:20 +08:00
19 lines
429 B
Python
19 lines
429 B
Python
![]() |
import pytest
|
||
|
|
||
|
from main import read_item
|
||
|
from src.models.requests import LinkRequest
|
||
|
|
||
|
test_websites = [
|
||
|
"https://ext.to/",
|
||
|
"https://btmet.com/",
|
||
|
"https://extratorrent.st/",
|
||
|
"https://idope.se/",
|
||
|
]
|
||
|
pytest_plugins = ("pytest_asyncio",)
|
||
|
|
||
|
|
||
|
@pytest.mark.parametrize("website", test_websites)
|
||
|
@pytest.mark.asyncio
|
||
|
async def test_bypass(website: str):
|
||
|
await read_item(LinkRequest(url=website, maxTimeout=5, cmd=""))
|