mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-28 01:22:24 +00:00
6f48b774ae
use pytest-httpbin for test_regex closes #113
9 lines
252 B
Python
9 lines
252 B
Python
# MIT licensed
|
|
# Copyright (c) 2013-2017 lilydjwg <lilydjwg@gmail.com>, et al.
|
|
|
|
import pytest
|
|
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
|
|
|
async def test_npm(get_version):
|
|
assert await get_version("example", {"npm": None}) == "0.0.0"
|