Skip to content

Commit

Permalink
async test
Browse files Browse the repository at this point in the history
  • Loading branch information
drernie committed Oct 22, 2023
1 parent 5797233 commit 941e0de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
1 change: 0 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
],
"python.testing.unittestEnabled": false,
"python.testing.pytestEnabled": true,
"python.formatting.provider": "black",
"python.analysis.typeCheckingMode": "basic"
}
16 changes: 8 additions & 8 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
from .conftest import TEST_BKT, TEST_PKG


def test_api_get_registry():
assert get_registry(TEST_BKT) is not None
async def test_api_get_registry():
assert await get_registry(TEST_BKT) is not None


def test_api_list_registry():
assert list_registry(TEST_BKT) is not None
async def test_api_list_registry():
assert await list_registry(TEST_BKT) is not None


def test_api_get_package():
assert get_package(TEST_BKT, TEST_PKG) is not None
async def test_api_get_package():
assert await get_package(TEST_BKT, TEST_PKG) is not None


def test_api_list_package():
assert list_package(TEST_BKT, TEST_PKG) is not None
async def test_api_list_package():
assert await list_package(TEST_BKT, TEST_PKG) is not None

0 comments on commit 941e0de

Please sign in to comment.