Skip to content

Commit

Permalink
test: change test to not require schema information
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jul 22, 2024
1 parent c8267e6 commit ff776cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ibis/backends/tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ff776cb

Please sign in to comment.