File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed
Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change 2121import pytest
2222
2323from pyiceberg .catalog import Catalog , MetastoreCatalog
24- from pyiceberg .catalog .dynamodb import DynamoDbCatalog
25- from pyiceberg .catalog .glue import GLUE_CATALOG_ENDPOINT , GlueCatalog
2624from pyiceberg .catalog .hive import HiveCatalog
2725from pyiceberg .catalog .memory import InMemoryCatalog
2826from pyiceberg .catalog .rest import RestCatalog
2927from pyiceberg .catalog .sql import SqlCatalog
3028from pyiceberg .io import WAREHOUSE
3129from pyiceberg .schema import Schema
32- from tests .conftest import clean_up , get_bucket_name , get_glue_endpoint , get_s3_path
33-
34-
35- @pytest .fixture (scope = "function" )
36- def dynamodb () -> Generator [Catalog , None , None ]:
37- test_catalog = DynamoDbCatalog ("test_dynamodb_catalog" , warehouse = get_s3_path (get_bucket_name ()))
38- yield test_catalog
39- clean_up (test_catalog )
40-
41-
42- @pytest .fixture (scope = "function" )
43- def glue () -> Generator [Catalog , None , None ]:
44- test_catalog = GlueCatalog (
45- "test_glue_catalog" , ** {"warehouse" : get_s3_path (get_bucket_name ()), GLUE_CATALOG_ENDPOINT : get_glue_endpoint ()}
46- )
47- yield test_catalog
48- clean_up (test_catalog )
30+ from tests .conftest import clean_up
4931
5032
5133@pytest .fixture (scope = "function" )
You can’t perform that action at this time.
0 commit comments