diff --git a/.vscode/settings.json b/.vscode/settings.json index 2b5a17a..f2d428f 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -5,6 +5,5 @@ ], "python.testing.unittestEnabled": false, "python.testing.pytestEnabled": true, - "python.formatting.provider": "black", "python.analysis.typeCheckingMode": "basic" } diff --git a/tests/test_api.py b/tests/test_api.py index a4c1c4e..4a9e187 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -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