We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9fb0444 commit 4be6808Copy full SHA for 4be6808
1 file changed
tests/unit/test_sea_backend.py
@@ -974,7 +974,7 @@ def test_get_tables_with_cloud_fetch(
974
):
975
"""Test the get_tables method with cloud fetch enabled."""
976
# Mock the execute_command method and ResultSetFilter
977
- mock_result_set = Mock()
+ mock_result_set = Mock(spec=SeaResultSet)
978
979
with patch.object(
980
sea_client_cloud_fetch, "execute_command", return_value=mock_result_set
@@ -1013,7 +1013,7 @@ def test_get_schemas_with_cloud_fetch(
1013
1014
"""Test the get_schemas method with cloud fetch enabled."""
1015
# Mock the execute_command method
1016
1017
1018
1019
) as mock_execute:
0 commit comments