Skip to content

Commit 6b0d1f0

Browse files
authored
test(oracle): fix flaky test that assumes tables exist (#9898)
Closes #9897.
1 parent 95104e5 commit 6b0d1f0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ibis/backends/oracle/tests/test_client.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ def test_list_tables_schema_warning_refactor(con):
8282
def test_from_url():
8383
new_con = ibis.connect("oracle://ibis:ibis@localhost:1521/IBIS_TESTING")
8484

85-
assert new_con.list_tables()
85+
result = new_con.sql('SELECT 1 AS "a"').to_pandas()
86+
assert result.a.iat[0] == 1
8687

8788

8889
def test_invalid_port(con):

0 commit comments

Comments
 (0)