Skip to content

Commit

Permalink
add test comment
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-aalam committed Jan 30, 2024
1 parent a2e8500 commit b2d4edc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/unit/test_df_to_pandas.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def test_df_to_pandas_kwargs_passing(mock_server_connection):
mock_execute = mock.Mock(return_value=mock_result_cursor)
fake_session._conn._conn.cursor().execute = mock_execute

# test cases
# test cases - to_pandas()
fake_session.sql(query).to_pandas()
mock_result_cursor.fetch_pandas_all.assert_called_with()

Expand All @@ -57,6 +57,7 @@ def test_df_to_pandas_kwargs_passing(mock_server_connection):
deduplicate_objects=True, split_blocks=True
)

# test cases - to_pandas_batches()
fake_session.sql(query).to_pandas_batches()
mock_result_cursor.fetch_pandas_batches.assert_called_with()

Expand Down

0 comments on commit b2d4edc

Please sign in to comment.