mirror of
https://github.com/lilydjwg/nvchecker
synced 2024-12-18 04:34:44 +00:00
Merge pull request #219 from yan12125/minor-fixes
Several minor fixes for docs and tests
This commit is contained in:
commit
115963ab93
@ -886,7 +886,7 @@ openvsx
|
||||
The extension's Unique Identifier on open-vsx.org, e.g. ``ritwickdey.LiveServer``.
|
||||
|
||||
Check Visual Studio Code Marketplace
|
||||
~~~~~~~~~~~~~~~
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
::
|
||||
|
||||
source = "vsmarketplace"
|
||||
|
@ -7,16 +7,16 @@ pytestmark = [pytest.mark.asyncio, pytest.mark.needs_net]
|
||||
|
||||
@flaky
|
||||
async def test_archpkg(get_version):
|
||||
assert await get_version("ipw2100-fw", {
|
||||
assert await get_version("base", {
|
||||
"source": "archpkg",
|
||||
}) == "1.3-10"
|
||||
}) == "3-1"
|
||||
|
||||
@flaky
|
||||
async def test_archpkg_strip_release(get_version):
|
||||
assert await get_version("ipw2100-fw", {
|
||||
assert await get_version("base", {
|
||||
"source": "archpkg",
|
||||
"strip_release": True,
|
||||
}) == "1.3"
|
||||
}) == "3"
|
||||
|
||||
@flaky
|
||||
async def test_archpkg_provided(get_version):
|
||||
|
@ -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.7"
|
||||
}) == "0.3.0"
|
||||
|
@ -11,12 +11,12 @@ pytestmark = [pytest.mark.asyncio,
|
||||
reason="requires synced pacman databases")]
|
||||
|
||||
async def test_pacman(get_version):
|
||||
assert await get_version("ipw2100-fw", {
|
||||
assert await get_version("base", {
|
||||
"source": "pacman",
|
||||
}) == "1.3-10"
|
||||
}) == "3-1"
|
||||
|
||||
async def test_pacman_strip_release(get_version):
|
||||
assert await get_version("ipw2100-fw", {
|
||||
assert await get_version("base", {
|
||||
"source": "pacman",
|
||||
"strip_release": 1,
|
||||
}) == "1.3"
|
||||
}) == "3"
|
||||
|
@ -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.8"
|
||||
}) == "0.3.0"
|
||||
|
Loading…
Reference in New Issue
Block a user