Update tests

* Use a seemingly never updated container for testing container
  registries other than docker.io
* Update versions for openvsx and vsmarketplace
This commit is contained in:
Chih-Hsuan Yen 2021-08-22 22:43:33 +08:00
parent 20183a83e5
commit b8afc43430
No known key found for this signature in database
GPG Key ID: F98EF2A7B0A098AE
3 changed files with 4 additions and 4 deletions

View File

@ -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"

View File

@ -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"
}) == "0.2.7"

View File

@ -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"
}) == "0.2.8"