Skip to content

Commit b58018e

Browse files
committed
add expected failures
1 parent a9d5527 commit b58018e

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

django_mongodb/features.py

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

0 commit comments

Comments
 (0)