Skip to content

Commit b922e1f

Browse files
committed
lint
1 parent 1fcbea0 commit b922e1f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/catalog/test_rest.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,7 @@ def test_load_table_404(rest_mock: Mocker) -> None:
954954
RestCatalog("rest", uri=TEST_URI, token=TEST_TOKEN).load_table(("fokko", "does_not_exists"))
955955
assert "Table does not exist" in str(e.value)
956956

957+
957958
def test_load_table_404_non_existent_namespace(rest_mock: Mocker) -> None:
958959
rest_mock.get(
959960
f"{TEST_URI}v1/namespaces/fokko/tables/does_not_exists",
@@ -972,6 +973,7 @@ def test_load_table_404_non_existent_namespace(rest_mock: Mocker) -> None:
972973
RestCatalog("rest", uri=TEST_URI, token=TEST_TOKEN).load_table(("fokko", "does_not_exists"))
973974
assert "Table does not exist" in str(e.value)
974975

976+
975977
def test_table_exists_200(rest_mock: Mocker) -> None:
976978
rest_mock.head(
977979
f"{TEST_URI}v1/namespaces/fokko/tables/table",

0 commit comments

Comments
 (0)