Skip to content

Commit bc48e54

Browse files
committed
add expected failures
1 parent 1dc2e1c commit bc48e54

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

django_mongodb/features.py

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,38 @@ class DatabaseFeatures(BaseDatabaseFeatures):
8181
"auth_tests.test_views.LoginTest.test_login_session_without_hash_session_key",
8282
# GenericRelation.value_to_string() assumes integer pk.
8383
"contenttypes_tests.test_fields.GenericRelationTests.test_value_to_string",
84+
# Can contains be implemented?
85+
"model_fields_.test_arrayfield.TestQuerying.test_contains",
86+
"model_fields_.test_arrayfield.TestQuerying.test_contains_charfield",
87+
"model_fields_.test_arrayfield.TestQuerying.test_contains_including_expression",
88+
"model_fields_.test_arrayfield.TestQuerying.test_contains_subquery",
89+
"model_fields_.test_arrayfield.TestQuerying.test_enum_lookup",
90+
"model_fields_.test_arrayfield.TestQuerying.test_icontains",
91+
# Field 'field' expected a number but got Value(1).
92+
"model_fields_.test_arrayfield.TestQuerying.test_exact_with_expression",
93+
# int() argument must be a string, a bytes-like object or a real number, not 'list'
94+
"model_fields_.test_arrayfield.TestQuerying.test_index_annotation",
95+
# the JSON object must be str, bytes or bytearray, not dict
96+
"model_fields_.test_arrayfield.TestSaveLoad.test_other_array_types",
97+
# Wrong results
98+
"model_fields_.test_arrayfield.TestQuerying.test_exact",
99+
"model_fields_.test_arrayfield.TestQuerying.test_gt",
100+
"model_fields_.test_arrayfield.TestQuerying.test_in",
101+
"model_fields_.test_arrayfield.TestQuerying.test_in_as_F_object",
102+
"model_fields_.test_arrayfield.TestQuerying.test_in_subquery",
103+
"model_fields_.test_arrayfield.TestQuerying.test_index",
104+
"model_fields_.test_arrayfield.TestQuerying.test_index_chained",
105+
"model_fields_.test_arrayfield.TestQuerying.test_index_nested",
106+
"model_fields_.test_arrayfield.TestQuerying.test_isnull",
107+
"model_fields_.test_arrayfield.TestQuerying.test_len",
108+
"model_fields_.test_arrayfield.TestQuerying.test_len_empty_array",
109+
"model_fields_.test_arrayfield.TestQuerying.test_lt",
110+
"model_fields_.test_arrayfield.TestQuerying.test_order_by_slice",
111+
"model_fields_.test_arrayfield.TestQuerying.test_slice",
112+
"model_fields_.test_arrayfield.TestQuerying.test_slice_annotation",
113+
"model_fields_.test_arrayfield.TestQuerying.test_usage_in_subquery",
114+
# database converters not applied
115+
"model_fields_.test_arrayfield.TestSaveLoad.test_dates",
84116
}
85117
# $bitAnd, #bitOr, and $bitXor are new in MongoDB 6.3.
86118
_django_test_expected_failures_bitwise = {

0 commit comments

Comments
 (0)