Skip to content

Commit c098777

Browse files
committed
reclassify tests for running converters on returning fields from insert
1 parent 9ec493f commit c098777

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

django_mongodb/features.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ def django_test_expected_failures(self):
197197
},
198198
"AutoField not supported.": {
199199
"bulk_create.tests.BulkCreateTests.test_bulk_insert_nullable_fields",
200-
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_create",
201200
"introspection.tests.IntrospectionTests.test_sequence_list",
202201
"lookup.tests.LookupTests.test_filter_by_reverse_related_field_transform",
203202
"lookup.tests.LookupTests.test_in_ignore_none_with_unhashable_items",
@@ -212,6 +211,12 @@ def django_test_expected_failures(self):
212211
"model_fields.test_autofield.SmallAutoFieldTests",
213212
"queries.tests.TestInvalidValuesRelation.test_invalid_values",
214213
},
214+
"Converters aren't run on returning fields from insert.": {
215+
# Unsure this is needed for this backend. Can implement by request.
216+
# https://github.com/django/django/commit/d9de74141e8a920940f1b91ed0a3ccb835b55729
217+
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_bulk_create",
218+
"custom_pk.tests.CustomPKTests.test_auto_field_subclass_create",
219+
},
215220
"MongoDB does not enforce PositiveIntegerField constraint.": {
216221
"model_fields.test_integerfield.PositiveIntegerFieldTests.test_negative_values",
217222
},

0 commit comments

Comments
 (0)