Skip to content

Commit

Permalink
remove flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
eakmanrq committed Oct 27, 2024
1 parent e0caf01 commit 46b5d22
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/integration/engines/postgres/test_postgres_catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,6 @@ def test_set_current_database(postgres_session: PostgresSession):
assert postgres_session.catalog.currentDatabase() == "db1"


def test_list_databases(postgres_session: PostgresSession):
assert sorted(postgres_session.catalog.listDatabases(), key=lambda x: (x.catalog, x.name)) == [
Database(name="db1", catalog="tests", description=None, locationUri=""),
Database(name="information_schema", catalog="tests", description=None, locationUri=""),
Database(name="pg_catalog", catalog="tests", description=None, locationUri=""),
Database(name="pg_temp_3", catalog="tests", description=None, locationUri=""),
Database(name="pg_toast", catalog="tests", description=None, locationUri=""),
Database(name="pg_toast_temp_3", catalog="tests", description=None, locationUri=""),
Database(name="public", catalog="tests", description=None, locationUri=""),
]


def test_list_databases_pattern(postgres_session: PostgresSession):
assert sorted(
postgres_session.catalog.listDatabases("db*"), key=lambda x: (x.catalog, x.name)
Expand Down

0 comments on commit 46b5d22

Please sign in to comment.