./runtests.py model_fields.test_jsonfield Testing against Django installed in '/django/django' with up to 8 processes Found 94 test(s). Creating test database for alias 'default'... Creating test user... System check identified no issues (0 silenced). ...ss.sss.s.FF...............F.sF..FFFFEFs.FF.......FF...F.FFFF...F..Fs..s..s.s.............. ====================================================================== ERROR: test_key_quoted_string (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 1017, in test_key_quoted_string NullableJSONModel.objects.filter(value__o='"quoted"').get(), File "/django/django/db/models/query.py", line 646, in get raise self.model.DoesNotExist( model_fields.models.NullableJSONModel.DoesNotExist: NullableJSONModel matching query does not exist. ====================================================================== FAIL: test_deep_lookup_mixed (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 817, in test_deep_lookup_mixed self.assertSequenceEqual( AssertionError: Sequences differ: != [] Second sequence contains 1 additional elements. First extra element 0: - + [] ====================================================================== FAIL: test_deep_lookup_objs (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 799, in test_deep_lookup_objs self.assertSequenceEqual( AssertionError: Sequences differ: != [] Second sequence contains 1 additional elements. First extra element 0: - + [] ====================================================================== FAIL: test_isnull_key_or_none (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 751, in test_isnull_key_or_none self.assertCountEqual( AssertionError: Element counts were not equal: First has 0, Second has 1: ====================================================================== FAIL: test_key_endswith (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 996, in test_key_endswith self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_iendswith (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 1001, in test_key_iendswith self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_iexact (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 903, in test_key_iexact self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_in (model_fields.test_jsonfield.TestQuerying) (lookup='value__foo__in', value=['bar']) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 938, in test_key_in self.assertCountEqual( AssertionError: Element counts were not equal: First has 0, Second has 1: ====================================================================== FAIL: test_key_in (model_fields.test_jsonfield.TestQuerying) (lookup='value__foo__in', value=['bar', 'baz']) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 938, in test_key_in self.assertCountEqual( AssertionError: Element counts were not equal: First has 0, Second has 1: ====================================================================== FAIL: test_key_iregex (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 1011, in test_key_iregex self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_istartswith (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 991, in test_key_istartswith self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_regex (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 1006, in test_key_regex self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_startswith (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 986, in test_key_startswith self.assertIs( AssertionError: False is not True ====================================================================== FAIL: test_key_text_transform_char_lookup (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 549, in test_key_text_transform_char_lookup self.assertSequenceEqual(qs, [self.objs[7]]) AssertionError: Sequences differ: != [] Second sequence contains 1 additional elements. First extra element 0: - + [] ====================================================================== FAIL: test_lookup_exclude (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 839, in test_lookup_exclude self.assertCountEqual( AssertionError: Element counts were not equal: First has 1, Second has 0: First has 1, Second has 0: ====================================================================== FAIL: test_lookup_exclude_nonexistent_key (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 853, in test_lookup_exclude_nonexistent_key self.assertCountEqual( AssertionError: Element counts were not equal: First has 1, Second has 0: ====================================================================== FAIL: test_nested_key_transform_on_subquery (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 532, in test_nested_key_transform_on_subquery self.assertSequenceEqual( AssertionError: Sequences differ: != [] Second sequence contains 1 additional elements. First extra element 0: - + [] ====================================================================== FAIL: test_none_key (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 759, in test_none_key self.assertSequenceEqual( AssertionError: Sequences differ: != [] Second sequence contains 1 additional elements. First extra element 0: - + [] ====================================================================== FAIL: test_none_key_and_exact_lookup (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 1056, in test_none_key_and_exact_lookup self.assertSequenceEqual( AssertionError: Sequences differ: != [] Second sequence contains 1 additional elements. First extra element 0: - + [] ====================================================================== FAIL: test_none_key_exclude (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 769, in test_none_key_exclude self.assertSequenceEqual( AssertionError: Sequences differ: ]> != [] First differing element 3: First sequence contains 1 additional elements. First extra element 7: Diff is 804 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_obj_subquery_lookup (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 796, in test_obj_subquery_lookup self.assertCountEqual(qs, [self.objs[3], self.objs[4]]) AssertionError: Element counts were not equal: First has 0, Second has 1: First has 0, Second has 1: ====================================================================== FAIL: test_ordering_grouping_by_key_transform (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 426, in test_ordering_grouping_by_key_transform self.assertQuerySetEqual( File "/django/django/test/testcases.py", line 1168, in assertQuerySetEqual return self.assertEqual(list(items), values, msg=msg) AssertionError: Lists differ: [('', 0), ('"g"', 1)] != [('', 0), ('g', 1)] First differing element 1: ('"g"', 1) ('g', 1) - [('', 0), ('"g"', 1)] ? - - + [('', 0), ('g', 1)] ====================================================================== FAIL: test_shallow_obj_lookup (model_fields.test_jsonfield.TestQuerying) ---------------------------------------------------------------------- Traceback (most recent call last): File "/django/tests/model_fields/test_jsonfield.py", line 785, in test_shallow_obj_lookup self.assertCountEqual( AssertionError: Element counts were not equal: First has 0, Second has 1: First has 0, Second has 1: ---------------------------------------------------------------------- Ran 94 tests in 1.285s FAILED (failures=22, errors=1, skipped=12) Destroying test database for alias 'default'... Destroying test user... Destroying test database tables...