Skip to content

Commit 82cd178

Browse files
committed
Fix unit tests affected by #37
Fixes #38
1 parent 5810fbc commit 82cd178

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_unit_transport_database.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def test_database_transport_execute_schema(database_execute):
3636
cursor.__iter__.assert_called_once()
3737

3838
assert len(cursor.execute.call_args[0]) > 0
39-
assert schema in cursor.execute.call_args[0][1] # argument 0 is self
39+
assert schema in cursor.execute.call_args[0][0]
4040

4141

4242
def test_database_transport_callproc_schema(database_execute):
@@ -51,4 +51,4 @@ def test_database_transport_callproc_schema(database_execute):
5151
cursor.__iter__.assert_called_once()
5252

5353
assert len(cursor.execute.call_args[0]) > 0
54-
assert schema in cursor.execute.call_args[0][1] # argument 0 is self
54+
assert schema in cursor.execute.call_args[0][0]

0 commit comments

Comments
 (0)