From b8afc434300d51e1c77e21f3c3880139e6feb6ce Mon Sep 17 00:00:00 2001 From: Chih-Hsuan Yen Date: Sun, 22 Aug 2021 22:43:33 +0800 Subject: [PATCH] Update tests * Use a seemingly never updated container for testing container registries other than docker.io * Update versions for openvsx and vsmarketplace --- tests/test_container.py | 4 ++-- tests/test_openvsx.py | 2 +- tests/test_vsmarketplace.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_container.py b/tests/test_container.py index f18697b..98bcff6 100644 --- a/tests/test_container.py +++ b/tests/test_container.py @@ -15,5 +15,5 @@ async def test_container_paging(get_version): assert await get_version("prometheus-operator", { "source": "container", "registry": "quay.io", - "container": "prometheus-operator/prometheus-operator", - }) == "v0.49.0" + "container": "redhattraining/hello-world-nginx", + }) == "v1.0" diff --git a/tests/test_openvsx.py b/tests/test_openvsx.py index faac45f..862ed3a 100644 --- a/tests/test_openvsx.py +++ b/tests/test_openvsx.py @@ -7,4 +7,4 @@ pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net] async def test_openvsx(get_version): assert await get_version("usernamehw.indent-one-space", { "source": "openvsx", - }) == "0.2.6" \ No newline at end of file + }) == "0.2.7" diff --git a/tests/test_vsmarketplace.py b/tests/test_vsmarketplace.py index a2d1ab8..ad68b3c 100644 --- a/tests/test_vsmarketplace.py +++ b/tests/test_vsmarketplace.py @@ -7,4 +7,4 @@ pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net] async def test_vsmarketplace(get_version): assert await get_version("usernamehw.indent-one-space", { "source": "vsmarketplace", - }) == "0.2.6" \ No newline at end of file + }) == "0.2.8"