Skip to content

Add compare_df unit tests #500

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 20, 2025
Merged

Conversation

rishsriv
Copy link
Member

Summary

  • add tests for compare_df covering equal DataFrames
  • verify shape mismatch returns False
  • verify value mismatch returns False
  • add tests for mixed-type comparisons
  • cover subset_df scenarios for subset correctness

Testing

  • OPENAI_API_KEY=dummy PYTHONPATH=backend pytest backend/tests/test_utils_sql_compare_df.py -q

@rishsriv rishsriv merged commit db9af80 into main May 20, 2025
@rishsriv rishsriv deleted the codex/create-tests-for-compare-df-function branch May 20, 2025 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant