Skip to content

Commit

Permalink
test(backends): copy from_connection to new file
Browse files Browse the repository at this point in the history
  • Loading branch information
deepyaman committed Jul 17, 2024
1 parent ac186cf commit 1bd470a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ibis/backends/tests/test_dbapi.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from __future__ import annotations


def test_from_connection(con):
new_con = type(con).from_connection(con.con)
assert {"astronauts", "batting", "diamonds"} <= set(new_con.list_tables())

0 comments on commit 1bd470a

Please sign in to comment.