From ff776cbd6fe94066a9086a37614036a90cc07552 Mon Sep 17 00:00:00 2001 From: Phillip Cloud <417981+cpcloud@users.noreply.github.com> Date: Mon, 22 Jul 2024 15:57:19 -0400 Subject: [PATCH] test: change test to not require schema information --- ibis/backends/tests/test_client.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ibis/backends/tests/test_client.py b/ibis/backends/tests/test_client.py index 5d19c7e38331..ccb01e1cc87c 100644 --- a/ibis/backends/tests/test_client.py +++ b/ibis/backends/tests/test_client.py @@ -1625,4 +1625,5 @@ def test_insert_using_col_name_not_position(con, first_row, second_row, monkeypa def test_from_connection(con, top_level): backend = getattr(ibis, con.name) if top_level else type(con) new_con = backend.from_connection(getattr(con, CON_ATTR.get(con.name, "con"))) - assert {"astronauts", "batting", "diamonds"} <= set(new_con.list_tables()) + result = int(new_con.execute(ibis.literal(1, type="int"))) + assert result == 1