Skip to content

Commit a6f6440

Browse files
committed
fixup tests
1 parent 2fedffa commit a6f6440

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/catalog/test_hive.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ def test_create_hive_client_success() -> None:
12141214

12151215
with patch("pyiceberg.catalog.hive._HiveClient", return_value=MagicMock()) as mock_hive_client:
12161216
client = HiveCatalog._create_hive_client(properties)
1217-
mock_hive_client.assert_called_once_with("thrift://localhost:10000", "user")
1217+
mock_hive_client.assert_called_once_with("thrift://localhost:10000", "user", False)
12181218
assert client is not None
12191219

12201220

@@ -1226,7 +1226,7 @@ def test_create_hive_client_multiple_uris() -> None:
12261226

12271227
client = HiveCatalog._create_hive_client(properties)
12281228
assert mock_hive_client.call_count == 2
1229-
mock_hive_client.assert_has_calls([call("thrift://localhost:10000", "user"), call("thrift://localhost:10001", "user")])
1229+
mock_hive_client.assert_has_calls([call("thrift://localhost:10000", "user", False), call("thrift://localhost:10001", "user", False)])
12301230
assert client is not None
12311231

12321232

0 commit comments

Comments
 (0)