2022-02-22 16:38:49 +00:00
|
|
|
# MIT licensed
|
|
|
|
# Copyright (c) 2022 Pekka Ristola <pekkarr [at] protonmail [dot] com>, et al.
|
|
|
|
|
|
|
|
import pytest
|
2023-12-09 11:17:31 +00:00
|
|
|
pytestmark = [pytest.mark.asyncio(scope="session"), pytest.mark.needs_net]
|
2022-02-22 16:38:49 +00:00
|
|
|
|
|
|
|
async def test_cran(get_version):
|
|
|
|
assert await get_version("xml2", {
|
|
|
|
"source": "cran",
|
2023-12-07 01:43:57 +00:00
|
|
|
}) == "1.3.6"
|