fix test_proxy skipping logic

This commit is contained in:
lilydjwg 2017-07-08 15:48:43 +08:00
parent 19be32164f
commit f0f841db71

View file

@ -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):