Ticket #34769: logs

File logs, 13.0 KB (added by Mariusz Felisiak, 16 months ago)
Line 
1./runtests.py model_fields.test_jsonfield
2Testing against Django installed in '/django/django' with up to 8 processes
3Found 94 test(s).
4Creating test database for alias 'default'...
5Creating test user...
6System check identified no issues (0 silenced).
7...ss.sss.s.FF...............F.sF..FFFFEFs.FF.......FF...F.FFFF...F..Fs..s..s.s..............
8======================================================================
9ERROR: test_key_quoted_string (model_fields.test_jsonfield.TestQuerying)
10----------------------------------------------------------------------
11Traceback (most recent call last):
12 File "/django/tests/model_fields/test_jsonfield.py", line 1017, in test_key_quoted_string
13 NullableJSONModel.objects.filter(value__o='"quoted"').get(),
14 File "/django/django/db/models/query.py", line 646, in get
15 raise self.model.DoesNotExist(
16model_fields.models.NullableJSONModel.DoesNotExist: NullableJSONModel matching query does not exist.
17
18======================================================================
19FAIL: test_deep_lookup_mixed (model_fields.test_jsonfield.TestQuerying)
20----------------------------------------------------------------------
21Traceback (most recent call last):
22 File "/django/tests/model_fields/test_jsonfield.py", line 817, in test_deep_lookup_mixed
23 self.assertSequenceEqual(
24AssertionError: Sequences differ: <QuerySet []> != [<NullableJSONModel: NullableJSONModel object (7)>]
25
26Second sequence contains 1 additional elements.
27First extra element 0:
28<NullableJSONModel: NullableJSONModel object (7)>
29
30- <QuerySet []>
31+ [<NullableJSONModel: NullableJSONModel object (7)>]
32
33======================================================================
34FAIL: test_deep_lookup_objs (model_fields.test_jsonfield.TestQuerying)
35----------------------------------------------------------------------
36Traceback (most recent call last):
37 File "/django/tests/model_fields/test_jsonfield.py", line 799, in test_deep_lookup_objs
38 self.assertSequenceEqual(
39AssertionError: Sequences differ: <QuerySet []> != [<NullableJSONModel: NullableJSONModel object (7)>]
40
41Second sequence contains 1 additional elements.
42First extra element 0:
43<NullableJSONModel: NullableJSONModel object (7)>
44
45- <QuerySet []>
46+ [<NullableJSONModel: NullableJSONModel object (7)>]
47
48======================================================================
49FAIL: test_isnull_key_or_none (model_fields.test_jsonfield.TestQuerying)
50----------------------------------------------------------------------
51Traceback (most recent call last):
52 File "/django/tests/model_fields/test_jsonfield.py", line 751, in test_isnull_key_or_none
53 self.assertCountEqual(
54AssertionError: Element counts were not equal:
55First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (13)>
56
57======================================================================
58FAIL: test_key_endswith (model_fields.test_jsonfield.TestQuerying)
59----------------------------------------------------------------------
60Traceback (most recent call last):
61 File "/django/tests/model_fields/test_jsonfield.py", line 996, in test_key_endswith
62 self.assertIs(
63AssertionError: False is not True
64
65======================================================================
66FAIL: test_key_iendswith (model_fields.test_jsonfield.TestQuerying)
67----------------------------------------------------------------------
68Traceback (most recent call last):
69 File "/django/tests/model_fields/test_jsonfield.py", line 1001, in test_key_iendswith
70 self.assertIs(
71AssertionError: False is not True
72
73======================================================================
74FAIL: test_key_iexact (model_fields.test_jsonfield.TestQuerying)
75----------------------------------------------------------------------
76Traceback (most recent call last):
77 File "/django/tests/model_fields/test_jsonfield.py", line 903, in test_key_iexact
78 self.assertIs(
79AssertionError: False is not True
80
81======================================================================
82FAIL: test_key_in (model_fields.test_jsonfield.TestQuerying) (lookup='value__foo__in', value=['bar'])
83----------------------------------------------------------------------
84Traceback (most recent call last):
85 File "/django/tests/model_fields/test_jsonfield.py", line 938, in test_key_in
86 self.assertCountEqual(
87AssertionError: Element counts were not equal:
88First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (10)>
89
90======================================================================
91FAIL: test_key_in (model_fields.test_jsonfield.TestQuerying) (lookup='value__foo__in', value=['bar', 'baz'])
92----------------------------------------------------------------------
93Traceback (most recent call last):
94 File "/django/tests/model_fields/test_jsonfield.py", line 938, in test_key_in
95 self.assertCountEqual(
96AssertionError: Element counts were not equal:
97First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (10)>
98
99======================================================================
100FAIL: test_key_iregex (model_fields.test_jsonfield.TestQuerying)
101----------------------------------------------------------------------
102Traceback (most recent call last):
103 File "/django/tests/model_fields/test_jsonfield.py", line 1011, in test_key_iregex
104 self.assertIs(
105AssertionError: False is not True
106
107======================================================================
108FAIL: test_key_istartswith (model_fields.test_jsonfield.TestQuerying)
109----------------------------------------------------------------------
110Traceback (most recent call last):
111 File "/django/tests/model_fields/test_jsonfield.py", line 991, in test_key_istartswith
112 self.assertIs(
113AssertionError: False is not True
114
115======================================================================
116FAIL: test_key_regex (model_fields.test_jsonfield.TestQuerying)
117----------------------------------------------------------------------
118Traceback (most recent call last):
119 File "/django/tests/model_fields/test_jsonfield.py", line 1006, in test_key_regex
120 self.assertIs(
121AssertionError: False is not True
122
123======================================================================
124FAIL: test_key_startswith (model_fields.test_jsonfield.TestQuerying)
125----------------------------------------------------------------------
126Traceback (most recent call last):
127 File "/django/tests/model_fields/test_jsonfield.py", line 986, in test_key_startswith
128 self.assertIs(
129AssertionError: False is not True
130
131======================================================================
132FAIL: test_key_text_transform_char_lookup (model_fields.test_jsonfield.TestQuerying)
133----------------------------------------------------------------------
134Traceback (most recent call last):
135 File "/django/tests/model_fields/test_jsonfield.py", line 549, in test_key_text_transform_char_lookup
136 self.assertSequenceEqual(qs, [self.objs[7]])
137AssertionError: Sequences differ: <QuerySet []> != [<NullableJSONModel: NullableJSONModel object (10)>]
138
139Second sequence contains 1 additional elements.
140First extra element 0:
141<NullableJSONModel: NullableJSONModel object (10)>
142
143- <QuerySet []>
144+ [<NullableJSONModel: NullableJSONModel object (10)>]
145
146======================================================================
147FAIL: test_lookup_exclude (model_fields.test_jsonfield.TestQuerying)
148----------------------------------------------------------------------
149Traceback (most recent call last):
150 File "/django/tests/model_fields/test_jsonfield.py", line 839, in test_lookup_exclude
151 self.assertCountEqual(
152AssertionError: Element counts were not equal:
153First has 1, Second has 0: <NullableJSONModel: NullableJSONModel object (6)>
154First has 1, Second has 0: <NullableJSONModel: NullableJSONModel object (7)>
155
156======================================================================
157FAIL: test_lookup_exclude_nonexistent_key (model_fields.test_jsonfield.TestQuerying)
158----------------------------------------------------------------------
159Traceback (most recent call last):
160 File "/django/tests/model_fields/test_jsonfield.py", line 853, in test_lookup_exclude_nonexistent_key
161 self.assertCountEqual(
162AssertionError: Element counts were not equal:
163First has 1, Second has 0: <NullableJSONModel: NullableJSONModel object (9)>
164
165======================================================================
166FAIL: test_nested_key_transform_on_subquery (model_fields.test_jsonfield.TestQuerying)
167----------------------------------------------------------------------
168Traceback (most recent call last):
169 File "/django/tests/model_fields/test_jsonfield.py", line 532, in test_nested_key_transform_on_subquery
170 self.assertSequenceEqual(
171AssertionError: Sequences differ: <QuerySet []> != [<NullableJSONModel: NullableJSONModel object (7)>]
172
173Second sequence contains 1 additional elements.
174First extra element 0:
175<NullableJSONModel: NullableJSONModel object (7)>
176
177- <QuerySet []>
178+ [<NullableJSONModel: NullableJSONModel object (7)>]
179
180======================================================================
181FAIL: test_none_key (model_fields.test_jsonfield.TestQuerying)
182----------------------------------------------------------------------
183Traceback (most recent call last):
184 File "/django/tests/model_fields/test_jsonfield.py", line 759, in test_none_key
185 self.assertSequenceEqual(
186AssertionError: Sequences differ: <QuerySet []> != [<NullableJSONModel: NullableJSONModel object (7)>]
187
188Second sequence contains 1 additional elements.
189First extra element 0:
190<NullableJSONModel: NullableJSONModel object (7)>
191
192- <QuerySet []>
193+ [<NullableJSONModel: NullableJSONModel object (7)>]
194
195======================================================================
196FAIL: test_none_key_and_exact_lookup (model_fields.test_jsonfield.TestQuerying)
197----------------------------------------------------------------------
198Traceback (most recent call last):
199 File "/django/tests/model_fields/test_jsonfield.py", line 1056, in test_none_key_and_exact_lookup
200 self.assertSequenceEqual(
201AssertionError: Sequences differ: <QuerySet []> != [<NullableJSONModel: NullableJSONModel object (7)>]
202
203Second sequence contains 1 additional elements.
204First extra element 0:
205<NullableJSONModel: NullableJSONModel object (7)>
206
207- <QuerySet []>
208+ [<NullableJSONModel: NullableJSONModel object (7)>]
209
210======================================================================
211FAIL: test_none_key_exclude (model_fields.test_jsonfield.TestQuerying)
212----------------------------------------------------------------------
213Traceback (most recent call last):
214 File "/django/tests/model_fields/test_jsonfield.py", line 769, in test_none_key_exclude
215 self.assertSequenceEqual(
216AssertionError: Sequences differ: <QuerySet [<NullableJSONModel: NullableJS[375 chars]7)>]> != [<NullableJSONModel: NullableJSONModel ob[313 chars]17)>]
217
218First differing element 3:
219<NullableJSONModel: NullableJSONModel object (7)>
220<NullableJSONModel: NullableJSONModel object (8)>
221
222First sequence contains 1 additional elements.
223First extra element 7:
224<NullableJSONModel: NullableJSONModel object (17)>
225
226Diff is 804 characters long. Set self.maxDiff to None to see it.
227
228======================================================================
229FAIL: test_obj_subquery_lookup (model_fields.test_jsonfield.TestQuerying)
230----------------------------------------------------------------------
231Traceback (most recent call last):
232 File "/django/tests/model_fields/test_jsonfield.py", line 796, in test_obj_subquery_lookup
233 self.assertCountEqual(qs, [self.objs[3], self.objs[4]])
234AssertionError: Element counts were not equal:
235First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (6)>
236First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (7)>
237
238======================================================================
239FAIL: test_ordering_grouping_by_key_transform (model_fields.test_jsonfield.TestQuerying)
240----------------------------------------------------------------------
241Traceback (most recent call last):
242 File "/django/tests/model_fields/test_jsonfield.py", line 426, in test_ordering_grouping_by_key_transform
243 self.assertQuerySetEqual(
244 File "/django/django/test/testcases.py", line 1168, in assertQuerySetEqual
245 return self.assertEqual(list(items), values, msg=msg)
246AssertionError: Lists differ: [('', 0), ('"g"', 1)] != [('', 0), ('g', 1)]
247
248First differing element 1:
249('"g"', 1)
250('g', 1)
251
252- [('', 0), ('"g"', 1)]
253? - -
254
255+ [('', 0), ('g', 1)]
256
257======================================================================
258FAIL: test_shallow_obj_lookup (model_fields.test_jsonfield.TestQuerying)
259----------------------------------------------------------------------
260Traceback (most recent call last):
261 File "/django/tests/model_fields/test_jsonfield.py", line 785, in test_shallow_obj_lookup
262 self.assertCountEqual(
263AssertionError: Element counts were not equal:
264First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (6)>
265First has 0, Second has 1: <NullableJSONModel: NullableJSONModel object (7)>
266
267----------------------------------------------------------------------
268Ran 94 tests in 1.285s
269
270FAILED (failures=22, errors=1, skipped=12)
271Destroying test database for alias 'default'...
272Destroying test user...
273Destroying test database tables...
Back to Top