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 18, 2024
1 parent 0176d42 commit 22dd3d4
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 22dd3d4

Please sign in to comment.