nvchecker/tests/test_packagist.py

11 lines
326 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
2023-12-09 11:17:31 +00:00
pytestmark = [pytest.mark.asyncio(scope="session"), pytest.mark.needs_net]
2015-12-03 03:19:58 +00:00
2017-07-04 09:04:29 +00:00
async def test_packagist(get_version):
2020-08-18 08:45:20 +00:00
assert await get_version("butterfly/example-web-application", {
"source": "packagist",
}) == "1.2.0"