Skip to content

Commit

Permalink
reclassify tests for running converters on returning fields from insert
Browse files Browse the repository at this point in the history
  • Loading branch information
timgraham committed Dec 12, 2024
1 parent 9ec493f commit c098777
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion django_mongodb/features.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ def django_test_expected_failures(self):
},
"AutoField not supported.": {
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields",
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_create",
"introspection.tests.IntrospectionTests.test_sequence_list",
"lookup.tests.LookupTests.test_filter_by_reverse_related_field_transform",
"lookup.tests.LookupTests.test_in_ignore_none_with_unhashable_items",
Expand All @@ -212,6 +211,12 @@ def django_test_expected_failures(self):
"model_fields.test_autofield.SmallAutoFieldTests",
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
},
"Converters aren't run on returning fields from insert.": {
# Unsure this is needed for this backend. Can implement by request.
# https://github.com/django/django/commit/d9de74141e8a920940f1b91ed0a3ccb835b55729
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_bulk_create",
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_create",
},
"MongoDB does not enforce PositiveIntegerField constraint.": {
"model_fields.test_integerfield.PositiveIntegerFieldTests.test_negative_values",
},
Expand Down

0 comments on commit c098777

Please sign in to comment.