Skip to content

FIX:getting data post creation in test_bulk_update_different_column_t… #439

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

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

NandanaRaol
Copy link
Contributor

@NandanaRaol NandanaRaol commented May 23, 2025

This pull request includes a minor update to the test_bulk_update_different_column_types test in testapp/tests/test_expressions.py. The primary change involves modifying the handling of objects created via bulk_create to ensure they can be properly updated and tested for nullable fields.

Changes to test logic:

  • Updated the bulk_create call to fetch the created objects again using a query, as bulk_create does not return the id of the created objects. Added comments explaining the need to reset field values to None for testing bulk_update with nullable fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant