Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removing unnecessary code
  • Loading branch information
sebpretzer committed Mar 18, 2024
commit 19e970c3a1fe9d8392f8bfd90cdcf39f70711b3f
8 changes: 0 additions & 8 deletions tests/catalog/test_glue.py
Original file line number Diff line number Diff line change
Expand Up @@ -700,11 +700,3 @@ def test_glue_endpoint_override(moto_endpoint_url: str, database_name: str) -> N
catalog_name, **{"s3.endpoint": moto_endpoint_url, "warehouse": f"s3://{BUCKET_NAME}", "glue.endpoint": moto_endpoint_url}
)
assert test_catalog.glue.meta.endpoint_url == moto_endpoint_url

test_catalog.create_namespace(namespace=database_name)
assert (database_name,) in test_catalog.list_namespaces()

with mock_aws():
other_catalog = GlueCatalog(catalog_name, **{"s3.endpoint": moto_endpoint_url, "warehouse": f"s3://{BUCKET_NAME}"})
assert other_catalog.glue.meta.endpoint_url != moto_endpoint_url
assert (database_name,) not in other_catalog.list_namespaces()