Skip to content

Commit 0a2cdfd

Browse files
remove unimplemented methods test
Signed-off-by: varun-edachali-dbx <[email protected]>
1 parent 64e58b0 commit 0a2cdfd

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

tests/unit/test_sea_backend.py

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -599,55 +599,3 @@ def test_utility_methods(self, sea_client):
599599
manifest_obj.schema = {}
600600
description = sea_client._extract_description_from_manifest(manifest_obj)
601601
assert description is None
602-
603-
def test_unimplemented_metadata_methods(
604-
self, sea_client, sea_session_id, mock_cursor
605-
):
606-
"""Test that metadata methods raise NotImplementedError."""
607-
# Test get_catalogs
608-
with pytest.raises(NotImplementedError):
609-
sea_client.get_catalogs(sea_session_id, 100, 1000, mock_cursor)
610-
611-
# Test get_schemas
612-
with pytest.raises(NotImplementedError):
613-
sea_client.get_schemas(sea_session_id, 100, 1000, mock_cursor)
614-
615-
# Test get_schemas with optional parameters
616-
with pytest.raises(NotImplementedError):
617-
sea_client.get_schemas(
618-
sea_session_id, 100, 1000, mock_cursor, "catalog", "schema"
619-
)
620-
621-
# Test get_tables
622-
with pytest.raises(NotImplementedError):
623-
sea_client.get_tables(sea_session_id, 100, 1000, mock_cursor)
624-
625-
# Test get_tables with optional parameters
626-
with pytest.raises(NotImplementedError):
627-
sea_client.get_tables(
628-
sea_session_id,
629-
100,
630-
1000,
631-
mock_cursor,
632-
catalog_name="catalog",
633-
schema_name="schema",
634-
table_name="table",
635-
table_types=["TABLE", "VIEW"],
636-
)
637-
638-
# Test get_columns
639-
with pytest.raises(NotImplementedError):
640-
sea_client.get_columns(sea_session_id, 100, 1000, mock_cursor)
641-
642-
# Test get_columns with optional parameters
643-
with pytest.raises(NotImplementedError):
644-
sea_client.get_columns(
645-
sea_session_id,
646-
100,
647-
1000,
648-
mock_cursor,
649-
catalog_name="catalog",
650-
schema_name="schema",
651-
table_name="table",
652-
column_name="column",
653-
)

0 commit comments

Comments
 (0)