mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
fix test_proxy skipping logic
This commit is contained in:
parent
19be32164f
commit
f0f841db71
1 changed files with 2 additions and 1 deletions
|
@ -11,7 +11,8 @@ except ImportError:
|
|||
import pytest
|
||||
pytestmark = [
|
||||
pytest.mark.asyncio,
|
||||
pytest.mark.skipif(not aiohttp, reason="requires aiohttp"),
|
||||
pytest.mark.skipif('nvchecker.source.aiohttp_httpclient' not in sys.modules,
|
||||
reason='aiohttp no chosen'),
|
||||
]
|
||||
|
||||
async def test_proxy(get_version, monkeypatch):
|
||||
|
|
Loading…
Add table
Reference in a new issue