nvchecker/tests/test_cpan.py

11 lines
297 B
Python
Raw Normal View History

2017-02-28 07:24:53 +00:00
# MIT licensed
2020-08-18 08:45:20 +00:00
# Copyright (c) 2013-2020 lilydjwg <lilydjwg@gmail.com>, et al.
2017-02-28 07:24:53 +00:00
2017-07-04 09:04:29 +00:00
import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
2015-11-04 12:20:25 +00:00
2017-07-04 09:04:29 +00:00
async def test_cpan(get_version):
2020-08-18 08:45:20 +00:00
assert await get_version("POE-Component-Server-HTTPServer", {
"source": "cpan",
}) == "0.9.2"