nvchecker/tests/test_container.py

13 lines
349 B
Python
Raw Normal View History

# MIT licensed
# Copyright (c) 2020 Chih-Hsuan Yen <yan12125 at gmail dot com>
import pytest
pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
async def test_container(get_version):
assert await get_version("hello-world", {
"source": "container",
"container": "library/hello-world",
"include_regex": "linux",
}) == "linux"