Skip to content

Commit a9eeb36

Browse files
committed
add expected failures
1 parent 477ccf3 commit a9eeb36

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

django_mongodb/features.py

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

0 commit comments

Comments
 (0)