Ticket #23742: reverse-results-sqlite.txt

File reverse-results-sqlite.txt, 87.1 KB (added by Wojtek Ruszczewski, 10 years ago)
Line 
1======================================================================
2ERROR: test_inline_change_m2m_noperm (admin_inlines.tests.TestInlinePermissions)
3----------------------------------------------------------------------
4Traceback (most recent call last):
5 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
6 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
7 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
8 return getattr(self.get_queryset(), name)(*args, **kwargs)
9 File "/a/django/django/django/db/models/query.py", line 372, in get
10 self.model._meta.object_name)
11DoesNotExist: Permission matching query does not exist.
12
13======================================================================
14ERROR: test_inline_change_m2m_change_perm (admin_inlines.tests.TestInlinePermissions)
15----------------------------------------------------------------------
16Traceback (most recent call last):
17 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
18 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
19 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
20 return getattr(self.get_queryset(), name)(*args, **kwargs)
21 File "/a/django/django/django/db/models/query.py", line 372, in get
22 self.model._meta.object_name)
23DoesNotExist: Permission matching query does not exist.
24
25======================================================================
26ERROR: test_inline_change_m2m_add_perm (admin_inlines.tests.TestInlinePermissions)
27----------------------------------------------------------------------
28Traceback (most recent call last):
29 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
30 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
31 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
32 return getattr(self.get_queryset(), name)(*args, **kwargs)
33 File "/a/django/django/django/db/models/query.py", line 372, in get
34 self.model._meta.object_name)
35DoesNotExist: Permission matching query does not exist.
36
37======================================================================
38ERROR: test_inline_change_fk_noperm (admin_inlines.tests.TestInlinePermissions)
39----------------------------------------------------------------------
40Traceback (most recent call last):
41 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
42 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
43 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
44 return getattr(self.get_queryset(), name)(*args, **kwargs)
45 File "/a/django/django/django/db/models/query.py", line 372, in get
46 self.model._meta.object_name)
47DoesNotExist: Permission matching query does not exist.
48
49======================================================================
50ERROR: test_inline_change_fk_change_perm (admin_inlines.tests.TestInlinePermissions)
51----------------------------------------------------------------------
52Traceback (most recent call last):
53 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
54 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
55 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
56 return getattr(self.get_queryset(), name)(*args, **kwargs)
57 File "/a/django/django/django/db/models/query.py", line 372, in get
58 self.model._meta.object_name)
59DoesNotExist: Permission matching query does not exist.
60
61======================================================================
62ERROR: test_inline_change_fk_change_del_perm (admin_inlines.tests.TestInlinePermissions)
63----------------------------------------------------------------------
64Traceback (most recent call last):
65 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
66 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
67 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
68 return getattr(self.get_queryset(), name)(*args, **kwargs)
69 File "/a/django/django/django/db/models/query.py", line 372, in get
70 self.model._meta.object_name)
71DoesNotExist: Permission matching query does not exist.
72
73======================================================================
74ERROR: test_inline_change_fk_all_perms (admin_inlines.tests.TestInlinePermissions)
75----------------------------------------------------------------------
76Traceback (most recent call last):
77 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
78 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
79 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
80 return getattr(self.get_queryset(), name)(*args, **kwargs)
81 File "/a/django/django/django/db/models/query.py", line 372, in get
82 self.model._meta.object_name)
83DoesNotExist: Permission matching query does not exist.
84
85======================================================================
86ERROR: test_inline_change_fk_add_perm (admin_inlines.tests.TestInlinePermissions)
87----------------------------------------------------------------------
88Traceback (most recent call last):
89 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
90 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
91 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
92 return getattr(self.get_queryset(), name)(*args, **kwargs)
93 File "/a/django/django/django/db/models/query.py", line 372, in get
94 self.model._meta.object_name)
95DoesNotExist: Permission matching query does not exist.
96
97======================================================================
98ERROR: test_inline_change_fk_add_change_perm (admin_inlines.tests.TestInlinePermissions)
99----------------------------------------------------------------------
100Traceback (most recent call last):
101 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
102 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
103 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
104 return getattr(self.get_queryset(), name)(*args, **kwargs)
105 File "/a/django/django/django/db/models/query.py", line 372, in get
106 self.model._meta.object_name)
107DoesNotExist: Permission matching query does not exist.
108
109======================================================================
110ERROR: test_inline_add_m2m_noperm (admin_inlines.tests.TestInlinePermissions)
111----------------------------------------------------------------------
112Traceback (most recent call last):
113 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
114 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
115 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
116 return getattr(self.get_queryset(), name)(*args, **kwargs)
117 File "/a/django/django/django/db/models/query.py", line 372, in get
118 self.model._meta.object_name)
119DoesNotExist: Permission matching query does not exist.
120
121======================================================================
122ERROR: test_inline_add_m2m_add_perm (admin_inlines.tests.TestInlinePermissions)
123----------------------------------------------------------------------
124Traceback (most recent call last):
125 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
126 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
127 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
128 return getattr(self.get_queryset(), name)(*args, **kwargs)
129 File "/a/django/django/django/db/models/query.py", line 372, in get
130 self.model._meta.object_name)
131DoesNotExist: Permission matching query does not exist.
132
133======================================================================
134ERROR: test_inline_add_fk_noperm (admin_inlines.tests.TestInlinePermissions)
135----------------------------------------------------------------------
136Traceback (most recent call last):
137 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
138 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
139 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
140 return getattr(self.get_queryset(), name)(*args, **kwargs)
141 File "/a/django/django/django/db/models/query.py", line 372, in get
142 self.model._meta.object_name)
143DoesNotExist: Permission matching query does not exist.
144
145======================================================================
146ERROR: test_inline_add_fk_add_perm (admin_inlines.tests.TestInlinePermissions)
147----------------------------------------------------------------------
148Traceback (most recent call last):
149 File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp
150 permission = Permission.objects.get(codename='add_author', content_type=self.author_ct)
151 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
152 return getattr(self.get_queryset(), name)(*args, **kwargs)
153 File "/a/django/django/django/db/models/query.py", line 372, in get
154 self.model._meta.object_name)
155DoesNotExist: Permission matching query does not exist.
156
157======================================================================
158ERROR: test_datefieldlistfilter_with_time_zone_support (admin_filters.tests.ListFiltersTests)
159----------------------------------------------------------------------
160Traceback (most recent call last):
161 File "/a/django/django/django/test/utils.py", line 275, in inner
162 return test_func(*args, **kwargs)
163 File "/a/django/django/tests/admin_filters/tests.py", line 355, in test_datefieldlistfilter_with_time_zone_support
164 self.test_datefieldlistfilter()
165 File "/a/django/django/tests/admin_filters/tests.py", line 269, in test_datefieldlistfilter
166 choice = select_by(filterspec.choices(changelist), "display", "Today")
167 File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by
168 return [x for x in dictlist if x[key] == value][0]
169IndexError: list index out of range
170
171======================================================================
172ERROR: test_datefieldlistfilter (admin_filters.tests.ListFiltersTests)
173----------------------------------------------------------------------
174Traceback (most recent call last):
175 File "/a/django/django/tests/admin_filters/tests.py", line 269, in test_datefieldlistfilter
176 choice = select_by(filterspec.choices(changelist), "display", "Today")
177 File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by
178 return [x for x in dictlist if x[key] == value][0]
179IndexError: list index out of range
180
181======================================================================
182ERROR: test_booleanfieldlistfilter_tuple (admin_filters.tests.ListFiltersTests)
183----------------------------------------------------------------------
184Traceback (most recent call last):
185 File "/a/django/django/tests/admin_filters/tests.py", line 570, in test_booleanfieldlistfilter_tuple
186 self.verify_booleanfieldlistfilter(modeladmin)
187 File "/a/django/django/tests/admin_filters/tests.py", line 586, in verify_booleanfieldlistfilter
188 choice = select_by(filterspec.choices(changelist), "display", "No")
189 File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by
190 return [x for x in dictlist if x[key] == value][0]
191IndexError: list index out of range
192
193======================================================================
194ERROR: test_booleanfieldlistfilter (admin_filters.tests.ListFiltersTests)
195----------------------------------------------------------------------
196Traceback (most recent call last):
197 File "/a/django/django/tests/admin_filters/tests.py", line 566, in test_booleanfieldlistfilter
198 self.verify_booleanfieldlistfilter(modeladmin)
199 File "/a/django/django/tests/admin_filters/tests.py", line 586, in verify_booleanfieldlistfilter
200 choice = select_by(filterspec.choices(changelist), "display", "No")
201 File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by
202 return [x for x in dictlist if x[key] == value][0]
203IndexError: list index out of range
204
205======================================================================
206ERROR: test_server_open (mail.tests.SMTPBackendTests)
207----------------------------------------------------------------------
208Traceback (most recent call last):
209 File "/a/django/django/tests/mail/tests.py", line 927, in test_server_open
210 opened = backend.open()
211 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
212 self.connection = connection_class(self.host, self.port, **connection_params)
213 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
214 (code, msg) = self.connect(host, port)
215 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
216 self.sock = self._get_socket(host, port, self.timeout)
217 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
218 return socket.create_connection((port, host), timeout)
219 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
220 raise err
221error: [Errno 111] Connection refused
222
223======================================================================
224ERROR: test_send_verbose_name (mail.tests.SMTPBackendTests)
225----------------------------------------------------------------------
226Traceback (most recent call last):
227 File "/a/django/django/tests/mail/tests.py", line 492, in test_send_verbose_name
228 email.send()
229 File "/a/django/django/django/core/mail/message.py", line 286, in send
230 return self.get_connection(fail_silently).send_messages([self])
231 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
232 new_conn_created = self.open()
233 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
234 self.connection = connection_class(self.host, self.port, **connection_params)
235 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
236 (code, msg) = self.connect(host, port)
237 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
238 self.sock = self._get_socket(host, port, self.timeout)
239 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
240 return socket.create_connection((port, host), timeout)
241 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
242 raise err
243error: [Errno 111] Connection refused
244
245======================================================================
246ERROR: test_send_unicode (mail.tests.SMTPBackendTests)
247----------------------------------------------------------------------
248Traceback (most recent call last):
249 File "/a/django/django/tests/mail/tests.py", line 473, in test_send_unicode
250 num_sent = mail.get_connection().send_messages([email])
251 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
252 new_conn_created = self.open()
253 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
254 self.connection = connection_class(self.host, self.port, **connection_params)
255 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
256 (code, msg) = self.connect(host, port)
257 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
258 self.sock = self._get_socket(host, port, self.timeout)
259 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
260 return socket.create_connection((port, host), timeout)
261 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
262 raise err
263error: [Errno 111] Connection refused
264
265======================================================================
266ERROR: test_send_many (mail.tests.SMTPBackendTests)
267----------------------------------------------------------------------
268Traceback (most recent call last):
269 File "/a/django/django/tests/mail/tests.py", line 482, in test_send_many
270 num_sent = mail.get_connection().send_messages([email1, email2])
271 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
272 new_conn_created = self.open()
273 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
274 self.connection = connection_class(self.host, self.port, **connection_params)
275 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
276 (code, msg) = self.connect(host, port)
277 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
278 self.sock = self._get_socket(host, port, self.timeout)
279 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
280 return socket.create_connection((port, host), timeout)
281 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
282 raise err
283error: [Errno 111] Connection refused
284
285======================================================================
286ERROR: test_send (mail.tests.SMTPBackendTests)
287----------------------------------------------------------------------
288Traceback (most recent call last):
289 File "/a/django/django/tests/mail/tests.py", line 463, in test_send
290 num_sent = mail.get_connection().send_messages([email])
291 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
292 new_conn_created = self.open()
293 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
294 self.connection = connection_class(self.host, self.port, **connection_params)
295 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
296 (code, msg) = self.connect(host, port)
297 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
298 self.sock = self._get_socket(host, port, self.timeout)
299 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
300 return socket.create_connection((port, host), timeout)
301 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
302 raise err
303error: [Errno 111] Connection refused
304
305======================================================================
306ERROR: test_recipient_without_domain (mail.tests.SMTPBackendTests)
307----------------------------------------------------------------------
308Traceback (most recent call last):
309 File "/a/django/django/tests/mail/tests.py", line 625, in test_recipient_without_domain
310 self.assertTrue(send_mail("Subject", "Content", "tester", ["django"]))
311 File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail
312 return mail.send()
313 File "/a/django/django/django/core/mail/message.py", line 286, in send
314 return self.get_connection(fail_silently).send_messages([self])
315 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
316 new_conn_created = self.open()
317 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
318 self.connection = connection_class(self.host, self.port, **connection_params)
319 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
320 (code, msg) = self.connect(host, port)
321 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
322 self.sock = self._get_socket(host, port, self.timeout)
323 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
324 return socket.create_connection((port, host), timeout)
325 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
326 raise err
327error: [Errno 111] Connection refused
328
329======================================================================
330ERROR: test_plaintext_send_mail (mail.tests.SMTPBackendTests)
331----------------------------------------------------------------------
332Traceback (most recent call last):
333 File "/a/django/django/tests/mail/tests.py", line 503, in test_plaintext_send_mail
334 send_mail('Subject', 'Content', 'sender@example.com', ['nobody@example.com'])
335 File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail
336 return mail.send()
337 File "/a/django/django/django/core/mail/message.py", line 286, in send
338 return self.get_connection(fail_silently).send_messages([self])
339 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
340 new_conn_created = self.open()
341 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
342 self.connection = connection_class(self.host, self.port, **connection_params)
343 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
344 (code, msg) = self.connect(host, port)
345 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
346 self.sock = self._get_socket(host, port, self.timeout)
347 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
348 return socket.create_connection((port, host), timeout)
349 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
350 raise err
351error: [Errno 111] Connection refused
352
353======================================================================
354ERROR: test_message_cc_header (mail.tests.SMTPBackendTests)
355----------------------------------------------------------------------
356Traceback (most recent call last):
357 File "/a/django/django/tests/mail/tests.py", line 589, in test_message_cc_header
358 mail.get_connection().send_messages([email])
359 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
360 new_conn_created = self.open()
361 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
362 self.connection = connection_class(self.host, self.port, **connection_params)
363 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
364 (code, msg) = self.connect(host, port)
365 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
366 self.sock = self._get_socket(host, port, self.timeout)
367 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
368 return socket.create_connection((port, host), timeout)
369 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
370 raise err
371error: [Errno 111] Connection refused
372
373======================================================================
374ERROR: test_manager_and_admin_mail_prefix (mail.tests.SMTPBackendTests)
375----------------------------------------------------------------------
376Traceback (most recent call last):
377 File "/a/django/django/django/test/utils.py", line 275, in inner
378 return test_func(*args, **kwargs)
379 File "/a/django/django/tests/mail/tests.py", line 564, in test_manager_and_admin_mail_prefix
380 mail_managers(ugettext_lazy('Subject'), 'Content')
381 File "/a/django/django/django/core/mail/__init__.py", line 111, in mail_managers
382 mail.send(fail_silently=fail_silently)
383 File "/a/django/django/django/core/mail/message.py", line 286, in send
384 return self.get_connection(fail_silently).send_messages([self])
385 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
386 new_conn_created = self.open()
387 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
388 self.connection = connection_class(self.host, self.port, **connection_params)
389 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
390 (code, msg) = self.connect(host, port)
391 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
392 self.sock = self._get_socket(host, port, self.timeout)
393 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
394 return socket.create_connection((port, host), timeout)
395 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
396 raise err
397error: [Errno 111] Connection refused
398
399======================================================================
400ERROR: test_idn_send (mail.tests.SMTPBackendTests)
401----------------------------------------------------------------------
402Traceback (most recent call last):
403 File "/a/django/django/tests/mail/tests.py", line 605, in test_idn_send
404 self.assertTrue(send_mail('Subject', 'Content', 'from@öäü.com', ['to@öäü.com']))
405 File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail
406 return mail.send()
407 File "/a/django/django/django/core/mail/message.py", line 286, in send
408 return self.get_connection(fail_silently).send_messages([self])
409 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
410 new_conn_created = self.open()
411 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
412 self.connection = connection_class(self.host, self.port, **connection_params)
413 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
414 (code, msg) = self.connect(host, port)
415 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
416 self.sock = self._get_socket(host, port, self.timeout)
417 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
418 return socket.create_connection((port, host), timeout)
419 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
420 raise err
421error: [Errno 111] Connection refused
422
423======================================================================
424ERROR: test_html_send_mail (mail.tests.SMTPBackendTests)
425Test html_message argument to send_mail
426----------------------------------------------------------------------
427Traceback (most recent call last):
428 File "/a/django/django/tests/mail/tests.py", line 514, in test_html_send_mail
429 send_mail('Subject', 'Content', 'sender@example.com', ['nobody@example.com'], html_message='HTML Content')
430 File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail
431 return mail.send()
432 File "/a/django/django/django/core/mail/message.py", line 286, in send
433 return self.get_connection(fail_silently).send_messages([self])
434 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
435 new_conn_created = self.open()
436 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
437 self.connection = connection_class(self.host, self.port, **connection_params)
438 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
439 (code, msg) = self.connect(host, port)
440 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
441 self.sock = self._get_socket(host, port, self.timeout)
442 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
443 return socket.create_connection((port, host), timeout)
444 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
445 raise err
446error: [Errno 111] Connection refused
447
448======================================================================
449ERROR: test_html_mail_managers (mail.tests.SMTPBackendTests)
450Test html_message argument to mail_managers
451----------------------------------------------------------------------
452Traceback (most recent call last):
453 File "/a/django/django/django/test/utils.py", line 275, in inner
454 return test_func(*args, **kwargs)
455 File "/a/django/django/tests/mail/tests.py", line 529, in test_html_mail_managers
456 mail_managers('Subject', 'Content', html_message='HTML Content')
457 File "/a/django/django/django/core/mail/__init__.py", line 111, in mail_managers
458 mail.send(fail_silently=fail_silently)
459 File "/a/django/django/django/core/mail/message.py", line 286, in send
460 return self.get_connection(fail_silently).send_messages([self])
461 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
462 new_conn_created = self.open()
463 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
464 self.connection = connection_class(self.host, self.port, **connection_params)
465 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
466 (code, msg) = self.connect(host, port)
467 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
468 self.sock = self._get_socket(host, port, self.timeout)
469 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
470 return socket.create_connection((port, host), timeout)
471 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
472 raise err
473error: [Errno 111] Connection refused
474
475======================================================================
476ERROR: test_html_mail_admins (mail.tests.SMTPBackendTests)
477Test html_message argument to mail_admins
478----------------------------------------------------------------------
479Traceback (most recent call last):
480 File "/a/django/django/django/test/utils.py", line 275, in inner
481 return test_func(*args, **kwargs)
482 File "/a/django/django/tests/mail/tests.py", line 544, in test_html_mail_admins
483 mail_admins('Subject', 'Content', html_message='HTML Content')
484 File "/a/django/django/django/core/mail/__init__.py", line 98, in mail_admins
485 mail.send(fail_silently=fail_silently)
486 File "/a/django/django/django/core/mail/message.py", line 286, in send
487 return self.get_connection(fail_silently).send_messages([self])
488 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
489 new_conn_created = self.open()
490 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
491 self.connection = connection_class(self.host, self.port, **connection_params)
492 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
493 (code, msg) = self.connect(host, port)
494 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
495 self.sock = self._get_socket(host, port, self.timeout)
496 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
497 return socket.create_connection((port, host), timeout)
498 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
499 raise err
500error: [Errno 111] Connection refused
501
502======================================================================
503ERROR: test_email_tls_attempts_starttls (mail.tests.SMTPBackendTests)
504----------------------------------------------------------------------
505Traceback (most recent call last):
506 File "/a/django/django/django/test/utils.py", line 275, in inner
507 return test_func(*args, **kwargs)
508 File "/a/django/django/tests/mail/tests.py", line 1006, in test_email_tls_attempts_starttls
509 'STARTTLS extension not supported by server.', backend.open)
510 File "/a/django/django/django/test/testcases.py", line 580, in assertRaisesMessage
511 re.escape(expected_message), callable_obj, *args, **kwargs)
512 File "/a/django/django/django/utils/six.py", line 690, in assertRaisesRegex
513 return getattr(self, _assertRaisesRegex)(*args, **kwargs)
514 File "/usr/lib/python2.7/unittest/case.py", line 989, in assertRaisesRegexp
515 callable_obj(*args, **kwargs)
516 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
517 self.connection = connection_class(self.host, self.port, **connection_params)
518 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
519 (code, msg) = self.connect(host, port)
520 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
521 self.sock = self._get_socket(host, port, self.timeout)
522 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
523 return socket.create_connection((port, host), timeout)
524 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
525 raise err
526error: [Errno 111] Connection refused
527
528======================================================================
529ERROR: test_email_ssl_attempts_ssl_connection (mail.tests.SMTPBackendTests)
530----------------------------------------------------------------------
531Traceback (most recent call last):
532 File "/a/django/django/django/test/utils.py", line 275, in inner
533 return test_func(*args, **kwargs)
534 File "/a/django/django/tests/mail/tests.py", line 1015, in test_email_ssl_attempts_ssl_connection
535 self.assertRaises(SSLError, backend.open)
536 File "/usr/lib/python2.7/unittest/case.py", line 471, in assertRaises
537 callableObj(*args, **kwargs)
538 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
539 self.connection = connection_class(self.host, self.port, **connection_params)
540 File "/usr/lib/python2.7/smtplib.py", line 776, in __init__
541 SMTP.__init__(self, host, port, local_hostname, timeout)
542 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
543 (code, msg) = self.connect(host, port)
544 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
545 self.sock = self._get_socket(host, port, self.timeout)
546 File "/usr/lib/python2.7/smtplib.py", line 781, in _get_socket
547 new_socket = socket.create_connection((host, port), timeout)
548 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
549 raise err
550error: [Errno 111] Connection refused
551
552======================================================================
553ERROR: test_email_msg_uses_crlf (mail.tests.SMTPBackendTests)
554#23063 -- Test that RFC-compliant messages are sent over SMTP.
555----------------------------------------------------------------------
556Traceback (most recent call last):
557 File "/a/django/django/tests/mail/tests.py", line 1055, in test_email_msg_uses_crlf
558 mail.get_connection().send_messages([email])
559 File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
560 new_conn_created = self.open()
561 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
562 self.connection = connection_class(self.host, self.port, **connection_params)
563 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
564 (code, msg) = self.connect(host, port)
565 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
566 self.sock = self._get_socket(host, port, self.timeout)
567 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
568 return socket.create_connection((port, host), timeout)
569 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
570 raise err
571error: [Errno 111] Connection refused
572
573======================================================================
574ERROR: test_connection_timeout_custom (mail.tests.SMTPBackendTests)
575Test that the timeout parameter can be customized.
576----------------------------------------------------------------------
577Traceback (most recent call last):
578 File "/a/django/django/tests/mail/tests.py", line 1032, in test_connection_timeout_custom
579 myemailbackend.open()
580 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
581 self.connection = connection_class(self.host, self.port, **connection_params)
582 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
583 (code, msg) = self.connect(host, port)
584 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
585 self.sock = self._get_socket(host, port, self.timeout)
586 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
587 return socket.create_connection((port, host), timeout)
588 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
589 raise err
590error: [Errno 111] Connection refused
591
592======================================================================
593ERROR: test_auth_attempted (mail.tests.SMTPBackendTests)
594----------------------------------------------------------------------
595Traceback (most recent call last):
596 File "/a/django/django/tests/mail/tests.py", line 917, in test_auth_attempted
597 'SMTP AUTH extension not supported by server.', backend.open)
598 File "/a/django/django/django/test/testcases.py", line 580, in assertRaisesMessage
599 re.escape(expected_message), callable_obj, *args, **kwargs)
600 File "/a/django/django/django/utils/six.py", line 690, in assertRaisesRegex
601 return getattr(self, _assertRaisesRegex)(*args, **kwargs)
602 File "/usr/lib/python2.7/unittest/case.py", line 989, in assertRaisesRegexp
603 callable_obj(*args, **kwargs)
604 File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open
605 self.connection = connection_class(self.host, self.port, **connection_params)
606 File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
607 (code, msg) = self.connect(host, port)
608 File "/usr/lib/python2.7/smtplib.py", line 309, in connect
609 self.sock = self._get_socket(host, port, self.timeout)
610 File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
611 return socket.create_connection((port, host), timeout)
612 File "/usr/lib/python2.7/socket.py", line 571, in create_connection
613 raise err
614error: [Errno 111] Connection refused
615
616======================================================================
617ERROR: test_output_formats (fixtures.tests.FixtureLoadingTests)
618----------------------------------------------------------------------
619Traceback (most recent call last):
620 File "/a/django/django/tests/fixtures/tests.py", line 374, in test_output_formats
621 management.call_command('loaddata', 'fixture6', verbosity=0)
622 File "/a/django/django/django/core/management/__init__.py", line 120, in call_command
623 return command.execute(*args, **defaults)
624 File "/a/django/django/django/core/management/base.py", line 442, in execute
625 output = self.handle(*args, **options)
626 File "/a/django/django/django/core/management/commands/loaddata.py", line 58, in handle
627 self.loaddata(fixture_labels)
628 File "/a/django/django/django/core/management/commands/loaddata.py", line 88, in loaddata
629 self.load_label(fixture_label)
630 File "/a/django/django/django/core/management/commands/loaddata.py", line 139, in load_label
631 for obj in objects:
632 File "/a/django/django/django/core/serializers/json.py", line 81, in Deserializer
633 six.reraise(DeserializationError, DeserializationError(e), sys.exc_info()[2])
634 File "/a/django/django/django/core/serializers/json.py", line 75, in Deserializer
635 for obj in PythonDeserializer(objects, **options):
636 File "/a/django/django/django/core/serializers/python.py", line 137, in Deserializer
637 obj = field.rel.to._default_manager.db_manager(db).get_by_natural_key(*field_value)
638 File "/a/django/django/django/contrib/contenttypes/models.py", line 21, in get_by_natural_key
639 ct = self.get(app_label=app_label, model=model)
640 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
641 return getattr(self.get_queryset(), name)(*args, **kwargs)
642 File "/a/django/django/django/db/models/query.py", line 372, in get
643 self.model._meta.object_name)
644DeserializationError: Problem installing fixture '/a/django/django/tests/fixtures/fixtures/fixture6.json': ContentType matching query does not exist.
645
646======================================================================
647ERROR: test_loading_and_dumping (fixtures.tests.FixtureLoadingTests)
648----------------------------------------------------------------------
649Traceback (most recent call last):
650 File "/a/django/django/tests/fixtures/tests.py", line 133, in test_loading_and_dumping
651 management.call_command('loaddata', 'fixture6.json', verbosity=0)
652 File "/a/django/django/django/core/management/__init__.py", line 120, in call_command
653 return command.execute(*args, **defaults)
654 File "/a/django/django/django/core/management/base.py", line 442, in execute
655 output = self.handle(*args, **options)
656 File "/a/django/django/django/core/management/commands/loaddata.py", line 58, in handle
657 self.loaddata(fixture_labels)
658 File "/a/django/django/django/core/management/commands/loaddata.py", line 88, in loaddata
659 self.load_label(fixture_label)
660 File "/a/django/django/django/core/management/commands/loaddata.py", line 139, in load_label
661 for obj in objects:
662 File "/a/django/django/django/core/serializers/json.py", line 81, in Deserializer
663 six.reraise(DeserializationError, DeserializationError(e), sys.exc_info()[2])
664 File "/a/django/django/django/core/serializers/json.py", line 75, in Deserializer
665 for obj in PythonDeserializer(objects, **options):
666 File "/a/django/django/django/core/serializers/python.py", line 137, in Deserializer
667 obj = field.rel.to._default_manager.db_manager(db).get_by_natural_key(*field_value)
668 File "/a/django/django/django/contrib/contenttypes/models.py", line 21, in get_by_natural_key
669 ct = self.get(app_label=app_label, model=model)
670 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
671 return getattr(self.get_queryset(), name)(*args, **kwargs)
672 File "/a/django/django/django/db/models/query.py", line 372, in get
673 self.model._meta.object_name)
674DeserializationError: Problem installing fixture '/a/django/django/tests/fixtures/fixtures/fixture6.json': ContentType matching query does not exist.
675
676======================================================================
677ERROR: test_generic_relation (generic_relations.tests.ProxyRelatedModelTest)
678----------------------------------------------------------------------
679Traceback (most recent call last):
680 File "/a/django/django/tests/generic_relations/tests.py", line 553, in test_generic_relation
681 rel = ProxyRelatedModel.objects.get(pk=base.obj.pk)
682AttributeError: 'NoneType' object has no attribute 'pk'
683
684======================================================================
685ERROR: test_index (admin_docs.tests.AdminDocViewTests)
686----------------------------------------------------------------------
687Traceback (most recent call last):
688 File "/a/django/django/tests/admin_docs/tests.py", line 50, in test_index
689 response = self.client.get(reverse('django-admindocs-docroot'), follow=True)
690 File "/a/django/django/django/test/client.py", line 486, in get
691 response = self._handle_redirects(response, **extra)
692 File "/a/django/django/django/test/client.py", line 645, in _handle_redirects
693 response = self.get(url.path, QueryDict(url.query), follow=False, **extra)
694 File "/a/django/django/django/test/client.py", line 484, in get
695 **extra)
696 File "/a/django/django/django/test/client.py", line 287, in get
697 return self.generic('GET', path, secure=secure, **r)
698 File "/a/django/django/django/test/client.py", line 363, in generic
699 return self.request(**r)
700 File "/a/django/django/django/test/client.py", line 450, in request
701 six.reraise(*exc_info)
702 File "/a/django/django/django/core/handlers/base.py", line 125, in get_response
703 response = wrapped_callback(request, *callback_args, **callback_kwargs)
704 File "/a/django/django/django/views/decorators/cache.py", line 54, in _wrapped_view_func
705 response = view_func(request, *args, **kwargs)
706 File "/a/django/django/django/contrib/admin/sites.py", line 372, in login
707 return login(request, **defaults)
708 File "/a/django/django/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper
709 return view(request, *args, **kwargs)
710 File "/a/django/django/django/utils/decorators.py", line 110, in _wrapped_view
711 response = view_func(request, *args, **kwargs)
712 File "/a/django/django/django/views/decorators/cache.py", line 54, in _wrapped_view_func
713 response = view_func(request, *args, **kwargs)
714 File "/a/django/django/django/contrib/auth/views.py", line 53, in login
715 current_site = get_current_site(request)
716 File "/a/django/django/django/contrib/sites/shortcuts.py", line 15, in get_current_site
717 return Site.objects.get_current(request)
718 File "/a/django/django/django/contrib/sites/models.py", line 60, in get_current
719 return self._get_site_by_id(site_id)
720 File "/a/django/django/django/contrib/sites/models.py", line 39, in _get_site_by_id
721 site = self.get(pk=site_id)
722 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
723 return getattr(self.get_queryset(), name)(*args, **kwargs)
724 File "/a/django/django/django/db/models/query.py", line 372, in get
725 self.model._meta.object_name)
726DoesNotExist: Site matching query does not exist.
727
728======================================================================
729ERROR: test_shortcut_view_only_available_to_staff (admin_views.tests.AdminViewPermissionsTest)
730----------------------------------------------------------------------
731Traceback (most recent call last):
732 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
733 get_permission_codename('add', opts)))
734 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
735 return Permission.objects.get(content_type=ct, codename=perm)
736 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
737 return getattr(self.get_queryset(), name)(*args, **kwargs)
738 File "/a/django/django/django/db/models/query.py", line 372, in get
739 self.model._meta.object_name)
740DoesNotExist: Permission matching query does not exist.
741
742======================================================================
743ERROR: test_overriding_has_module_permission (admin_views.tests.AdminViewPermissionsTest)
744----------------------------------------------------------------------
745Traceback (most recent call last):
746 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
747 get_permission_codename('add', opts)))
748 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
749 return Permission.objects.get(content_type=ct, codename=perm)
750 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
751 return getattr(self.get_queryset(), name)(*args, **kwargs)
752 File "/a/django/django/django/db/models/query.py", line 372, in get
753 self.model._meta.object_name)
754DoesNotExist: Permission matching query does not exist.
755
756======================================================================
757ERROR: test_login_successfully_redirects_to_original_URL (admin_views.tests.AdminViewPermissionsTest)
758----------------------------------------------------------------------
759Traceback (most recent call last):
760 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
761 get_permission_codename('add', opts)))
762 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
763 return Permission.objects.get(content_type=ct, codename=perm)
764 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
765 return getattr(self.get_queryset(), name)(*args, **kwargs)
766 File "/a/django/django/django/db/models/query.py", line 372, in get
767 self.model._meta.object_name)
768DoesNotExist: Permission matching query does not exist.
769
770======================================================================
771ERROR: test_login (admin_views.tests.AdminViewPermissionsTest)
772----------------------------------------------------------------------
773Traceback (most recent call last):
774 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
775 get_permission_codename('add', opts)))
776 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
777 return Permission.objects.get(content_type=ct, codename=perm)
778 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
779 return getattr(self.get_queryset(), name)(*args, **kwargs)
780 File "/a/django/django/django/db/models/query.py", line 372, in get
781 self.model._meta.object_name)
782DoesNotExist: Permission matching query does not exist.
783
784======================================================================
785ERROR: test_history_view (admin_views.tests.AdminViewPermissionsTest)
786History view should restrict access.
787----------------------------------------------------------------------
788Traceback (most recent call last):
789 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
790 get_permission_codename('add', opts)))
791 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
792 return Permission.objects.get(content_type=ct, codename=perm)
793 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
794 return getattr(self.get_queryset(), name)(*args, **kwargs)
795 File "/a/django/django/django/db/models/query.py", line 372, in get
796 self.model._meta.object_name)
797DoesNotExist: Permission matching query does not exist.
798
799======================================================================
800ERROR: test_has_module_permission (admin_views.tests.AdminViewPermissionsTest)
801----------------------------------------------------------------------
802Traceback (most recent call last):
803 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
804 get_permission_codename('add', opts)))
805 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
806 return Permission.objects.get(content_type=ct, codename=perm)
807 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
808 return getattr(self.get_queryset(), name)(*args, **kwargs)
809 File "/a/django/django/django/db/models/query.py", line 372, in get
810 self.model._meta.object_name)
811DoesNotExist: Permission matching query does not exist.
812
813======================================================================
814ERROR: test_double_login_is_not_allowed (admin_views.tests.AdminViewPermissionsTest)
815Regression test for #19327
816----------------------------------------------------------------------
817Traceback (most recent call last):
818 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
819 get_permission_codename('add', opts)))
820 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
821 return Permission.objects.get(content_type=ct, codename=perm)
822 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
823 return getattr(self.get_queryset(), name)(*args, **kwargs)
824 File "/a/django/django/django/db/models/query.py", line 372, in get
825 self.model._meta.object_name)
826DoesNotExist: Permission matching query does not exist.
827
828======================================================================
829ERROR: test_disabled_staff_permissions_when_logged_in (admin_views.tests.AdminViewPermissionsTest)
830----------------------------------------------------------------------
831Traceback (most recent call last):
832 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
833 get_permission_codename('add', opts)))
834 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
835 return Permission.objects.get(content_type=ct, codename=perm)
836 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
837 return getattr(self.get_queryset(), name)(*args, **kwargs)
838 File "/a/django/django/django/db/models/query.py", line 372, in get
839 self.model._meta.object_name)
840DoesNotExist: Permission matching query does not exist.
841
842======================================================================
843ERROR: test_disabled_permissions_when_logged_in (admin_views.tests.AdminViewPermissionsTest)
844----------------------------------------------------------------------
845Traceback (most recent call last):
846 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
847 get_permission_codename('add', opts)))
848 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
849 return Permission.objects.get(content_type=ct, codename=perm)
850 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
851 return getattr(self.get_queryset(), name)(*args, **kwargs)
852 File "/a/django/django/django/db/models/query.py", line 372, in get
853 self.model._meta.object_name)
854DoesNotExist: Permission matching query does not exist.
855
856======================================================================
857ERROR: test_delete_view (admin_views.tests.AdminViewPermissionsTest)
858Delete view should restrict access and actually delete items.
859----------------------------------------------------------------------
860Traceback (most recent call last):
861 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
862 get_permission_codename('add', opts)))
863 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
864 return Permission.objects.get(content_type=ct, codename=perm)
865 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
866 return getattr(self.get_queryset(), name)(*args, **kwargs)
867 File "/a/django/django/django/db/models/query.py", line 372, in get
868 self.model._meta.object_name)
869DoesNotExist: Permission matching query does not exist.
870
871======================================================================
872ERROR: test_custom_model_admin_templates (admin_views.tests.AdminViewPermissionsTest)
873----------------------------------------------------------------------
874Traceback (most recent call last):
875 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
876 get_permission_codename('add', opts)))
877 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
878 return Permission.objects.get(content_type=ct, codename=perm)
879 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
880 return getattr(self.get_queryset(), name)(*args, **kwargs)
881 File "/a/django/django/django/db/models/query.py", line 372, in get
882 self.model._meta.object_name)
883DoesNotExist: Permission matching query does not exist.
884
885======================================================================
886ERROR: test_conditionally_show_add_section_link (admin_views.tests.AdminViewPermissionsTest)
887----------------------------------------------------------------------
888Traceback (most recent call last):
889 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
890 get_permission_codename('add', opts)))
891 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
892 return Permission.objects.get(content_type=ct, codename=perm)
893 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
894 return getattr(self.get_queryset(), name)(*args, **kwargs)
895 File "/a/django/django/django/db/models/query.py", line 372, in get
896 self.model._meta.object_name)
897DoesNotExist: Permission matching query does not exist.
898
899======================================================================
900ERROR: test_change_view (admin_views.tests.AdminViewPermissionsTest)
901Change view should restrict access and allow users to edit items.
902----------------------------------------------------------------------
903Traceback (most recent call last):
904 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
905 get_permission_codename('add', opts)))
906 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
907 return Permission.objects.get(content_type=ct, codename=perm)
908 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
909 return getattr(self.get_queryset(), name)(*args, **kwargs)
910 File "/a/django/django/django/db/models/query.py", line 372, in get
911 self.model._meta.object_name)
912DoesNotExist: Permission matching query does not exist.
913
914======================================================================
915ERROR: test_app_index_fail_early (admin_views.tests.AdminViewPermissionsTest)
916----------------------------------------------------------------------
917Traceback (most recent call last):
918 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
919 get_permission_codename('add', opts)))
920 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
921 return Permission.objects.get(content_type=ct, codename=perm)
922 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
923 return getattr(self.get_queryset(), name)(*args, **kwargs)
924 File "/a/django/django/django/db/models/query.py", line 372, in get
925 self.model._meta.object_name)
926DoesNotExist: Permission matching query does not exist.
927
928======================================================================
929ERROR: test_add_view (admin_views.tests.AdminViewPermissionsTest)
930Test add view restricts access and actually adds items.
931----------------------------------------------------------------------
932Traceback (most recent call last):
933 File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp
934 get_permission_codename('add', opts)))
935 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
936 return Permission.objects.get(content_type=ct, codename=perm)
937 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
938 return getattr(self.get_queryset(), name)(*args, **kwargs)
939 File "/a/django/django/django/db/models/query.py", line 372, in get
940 self.model._meta.object_name)
941DoesNotExist: Permission matching query does not exist.
942
943======================================================================
944ERROR: test_logentry_get_admin_url (admin_views.tests.AdminViewStringPrimaryKeyTest)
945LogEntry.get_admin_url returns a URL to edit the entry's object or None for non-existent (possibly deleted) models
946----------------------------------------------------------------------
947Traceback (most recent call last):
948 File "/a/django/django/tests/admin_views/tests.py", line 1878, in test_logentry_get_admin_url
949 logentry = LogEntry.objects.get(content_type__name__iexact=log_entry_name)
950 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
951 return getattr(self.get_queryset(), name)(*args, **kwargs)
952 File "/a/django/django/django/db/models/query.py", line 372, in get
953 self.model._meta.object_name)
954DoesNotExist: LogEntry matching query does not exist.
955
956======================================================================
957ERROR: test_no_standard_modeladmin_urls (admin_views.tests.AdminViewsNoUrlTest)
958Admin index views don't break when user's ModelAdmin removes standard urls
959----------------------------------------------------------------------
960Traceback (most recent call last):
961 File "/a/django/django/tests/admin_views/tests.py", line 1651, in setUp
962 get_permission_codename('change', opts)))
963 File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm
964 return Permission.objects.get(content_type=ct, codename=perm)
965 File "/a/django/django/django/db/models/manager.py", line 86, in manager_method
966 return getattr(self.get_queryset(), name)(*args, **kwargs)
967 File "/a/django/django/django/db/models/query.py", line 372, in get
968 self.model._meta.object_name)
969DoesNotExist: Permission matching query does not exist.
970
971======================================================================
972FAIL: test_generic_relation_ordering (generic_relations_regress.tests.GenericRelationTests)
973----------------------------------------------------------------------
974Traceback (most recent call last):
975 File "/a/django/django/tests/generic_relations_regress/tests.py", line 106, in test_generic_relation_ordering
976 self.assertEqual(len(places), 2)
977AssertionError: 3 != 2
978
979======================================================================
980FAIL: test_annotate (generic_relations_regress.tests.GenericRelationTests)
981----------------------------------------------------------------------
982Traceback (most recent call last):
983 File "/a/django/django/tests/generic_relations_regress/tests.py", line 231, in test_annotate
984 self.assertEqual(qs[0].links__sum, l.id)
985AssertionError: 2 != 1
986
987======================================================================
988FAIL: test_get_cache_key (cache.tests.CacheUtils)
989----------------------------------------------------------------------
990Traceback (most recent call last):
991 File "/a/django/django/tests/cache/tests.py", line 1364, in test_get_cache_key
992 self.assertIsNone(get_cache_key(request))
993AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None
994
995======================================================================
996FAIL: test_get_cache_key (cache.tests.PrefixedCacheUtils)
997----------------------------------------------------------------------
998Traceback (most recent call last):
999 File "/a/django/django/tests/cache/tests.py", line 1364, in test_get_cache_key
1000 self.assertIsNone(get_cache_key(request))
1001AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None
1002
1003======================================================================
1004FAIL: test_admin_URLs_no_clash (admin_custom_urls.tests.AdminCustomUrlsTest)
1005----------------------------------------------------------------------
1006Traceback (most recent call last):
1007 File "/a/django/django/tests/admin_custom_urls/tests.py", line 67, in test_admin_URLs_no_clash
1008 self.assertContains(response, 'Change action')
1009 File "/a/django/django/django/test/testcases.py", line 362, in assertContains
1010 msg_prefix + "Couldn't find %s in response" % text_repr)
1011AssertionError: Couldn't find 'Change action' in response
1012
1013======================================================================
1014FAIL: test_permissions_created (proxy_models.tests.ProxyModelTests)
1015----------------------------------------------------------------------
1016Traceback (most recent call last):
1017 File "/a/django/django/tests/proxy_models/tests.py", line 222, in test_permissions_created
1018 self.fail("The permission 'May display users information' has not been created")
1019AssertionError: The permission 'May display users information' has not been created
1020
1021======================================================================
1022FAIL: test_simplelistfilter_with_queryset_based_lookups (admin_filters.tests.ListFiltersTests)
1023----------------------------------------------------------------------
1024Traceback (most recent call last):
1025 File "/a/django/django/tests/admin_filters/tests.py", line 780, in test_simplelistfilter_with_queryset_based_lookups
1026 self.assertEqual(choices[0]['display'], 'All')
1027AssertionError: <django.utils.functional.__proxy__ object at 0xcd8c850> != u'All'
1028
1029======================================================================
1030FAIL: test_simplelistfilter (admin_filters.tests.ListFiltersTests)
1031----------------------------------------------------------------------
1032Traceback (most recent call last):
1033 File "/a/django/django/tests/admin_filters/tests.py", line 651, in test_simplelistfilter
1034 self.assertEqual(choices[0]['display'], 'All')
1035AssertionError: <django.utils.functional.__proxy__ object at 0xcd9b090> != u'All'
1036
1037======================================================================
1038FAIL: test_lookup_with_dynamic_value (admin_filters.tests.ListFiltersTests)
1039----------------------------------------------------------------------
1040Traceback (most recent call last):
1041 File "/a/django/django/tests/admin_filters/tests.py", line 964, in test_lookup_with_dynamic_value
1042 ("All", "the 1980's", "the 1990's"))
1043 File "/a/django/django/tests/admin_filters/tests.py", line 961, in _test_choices
1044 self.assertEqual(choices, expected_displays)
1045AssertionError: Tuples differ: (<django.utils.functional.__pr... != (u'All', u"the 1980's", u"the ...
1046
1047First differing element 0:
1048<django.utils.functional.__proxy__ object at 0xcda0690>
1049All
1050
1051+ (u'All', u"the 1980's", u"the 1990's")
1052- (<django.utils.functional.__proxy__ object at 0xcda0690>,
1053- u"the 1980's",
1054- u"the 1990's")
1055
1056======================================================================
1057FAIL: test_fk_with_to_field (admin_filters.tests.ListFiltersTests)
1058----------------------------------------------------------------------
1059Traceback (most recent call last):
1060 File "/a/django/django/tests/admin_filters/tests.py", line 913, in test_fk_with_to_field
1061 self.assertEqual(choices[0]['display'], 'All')
1062AssertionError: <django.utils.functional.__proxy__ object at 0xcda4d50> != u'All'
1063
1064======================================================================
1065FAIL: test_has_delete_permission (modeladmin.tests.ModelAdminPermissionTests)
1066----------------------------------------------------------------------
1067Traceback (most recent call last):
1068 File "/a/django/django/tests/modeladmin/tests.py", line 1613, in test_has_delete_permission
1069 self.assertTrue(ma.has_delete_permission(request))
1070AssertionError: False is not true
1071
1072======================================================================
1073FAIL: test_has_change_permission (modeladmin.tests.ModelAdminPermissionTests)
1074----------------------------------------------------------------------
1075Traceback (most recent call last):
1076 File "/a/django/django/tests/modeladmin/tests.py", line 1597, in test_has_change_permission
1077 self.assertTrue(ma.has_change_permission(request))
1078AssertionError: False is not true
1079
1080======================================================================
1081FAIL: test_has_add_permission (modeladmin.tests.ModelAdminPermissionTests)
1082----------------------------------------------------------------------
1083Traceback (most recent call last):
1084 File "/a/django/django/tests/modeladmin/tests.py", line 1581, in test_has_add_permission
1085 self.assertTrue(ma.has_add_permission(request))
1086AssertionError: False is not true
1087
1088======================================================================
1089FAIL: test_foreign_key_as_radio_field (modeladmin.tests.ModelAdminTests)
1090----------------------------------------------------------------------
1091Traceback (most recent call last):
1092 File "/a/django/django/tests/modeladmin/tests.py", line 482, in test_foreign_key_as_radio_field
1093 [('', 'None'), (self.band.id, 'The Doors')])
1094AssertionError: Lists differ: [(u'', u'Ei arvoa'), (1, u'The... != [(u'', u'None'), (1, u'The Doo...
1095
1096First differing element 0:
1097(u'', u'Ei arvoa')
1098(u'', u'None')
1099
1100- [(u'', u'Ei arvoa'), (1, u'The Doors')]
1101? ^^^^^^ ^
1102
1103+ [(u'', u'None'), (1, u'The Doors')]
1104? ^ ^^
1105
1106
1107======================================================================
1108FAIL: test_invalid_block_suggestion (template_tests.tests.TemplateRegressionTests)
1109----------------------------------------------------------------------
1110Traceback (most recent call last):
1111 File "/a/django/django/tests/template_tests/tests.py", line 427, in test_invalid_block_suggestion
1112 self.assertEqual(e.args[0], "Invalid block tag: 'endblock', expected 'elif', 'else' or 'endif'")
1113AssertionError: u"Invalid block tag: 'endblock', expected 'elif', 'else' tai 'endif'" != u"Invalid block tag: 'endblock', expected 'elif', 'else' or 'endif'"
1114- Invalid block tag: 'endblock', expected 'elif', 'else' tai 'endif'
1115? ^^^
1116+ Invalid block tag: 'endblock', expected 'elif', 'else' or 'endif'
1117? ^^
1118
1119
1120======================================================================
1121FAIL: test_templates (template_tests.tests.TemplateTests)
1122----------------------------------------------------------------------
1123Traceback (most recent call last):
1124 File "/a/django/django/tests/template_tests/tests.py", line 617, in test_templates
1125 ('-' * 70, ("\n%s\n" % ('-' * 70)).join(failures)))
1126AssertionError: Tests failed:
1127----------------------------------------------------------------------
1128Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1129----------------------------------------------------------------------
1130Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1131----------------------------------------------------------------------
1132Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1133----------------------------------------------------------------------
1134Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1135----------------------------------------------------------------------
1136Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1137----------------------------------------------------------------------
1138Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1139----------------------------------------------------------------------
1140Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1141----------------------------------------------------------------------
1142Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1143----------------------------------------------------------------------
1144Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1145----------------------------------------------------------------------
1146Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1147----------------------------------------------------------------------
1148Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1149----------------------------------------------------------------------
1150Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
1151
1152======================================================================
1153FAIL: test_deprecation (utils_tests.test_text.TestUtilsText)
1154----------------------------------------------------------------------
1155Traceback (most recent call last):
1156 File "/a/django/django/tests/utils_tests/test_text.py", line 225, in test_deprecation
1157 self.assertEqual(len(w), 1)
1158AssertionError: 0 != 1
1159
1160======================================================================
1161FAIL: test_shortcut_with_absolute_url (contenttypes_tests.tests.ContentTypesViewsTests)
1162Can view a shortcut for an Author object that has a get_absolute_url method
1163----------------------------------------------------------------------
1164Traceback (most recent call last):
1165 File "/a/django/django/tests/contenttypes_tests/tests.py", line 32, in test_shortcut_with_absolute_url
1166 status_code=302, target_status_code=404)
1167 File "/a/django/django/django/test/testcases.py", line 287, in assertRedirects
1168 (response.status_code, status_code))
1169AssertionError: Response didn't redirect as expected: Response code was 404 (expected 302)
1170
1171======================================================================
1172FAIL: test_interactive_true (contenttypes_tests.tests.UpdateContentTypesTests)
1173----------------------------------------------------------------------
1174Traceback (most recent call last):
1175 File "/a/django/django/tests/contenttypes_tests/tests.py", line 384, in test_interactive_true
1176 self.assertEqual(ContentType.objects.count(), self.before_count)
1177AssertionError: 3 != 0
1178
1179======================================================================
1180FAIL: test_interactive_false (contenttypes_tests.tests.UpdateContentTypesTests)
1181----------------------------------------------------------------------
1182Traceback (most recent call last):
1183 File "/a/django/django/tests/contenttypes_tests/tests.py", line 393, in test_interactive_false
1184 self.assertEqual(ContentType.objects.count(), self.before_count + 1)
1185AssertionError: 4 != 1
1186
1187======================================================================
1188FAIL: test_save_new_for_concrete (generic_relations.tests.GenericInlineFormsetTest)
1189----------------------------------------------------------------------
1190Traceback (most recent call last):
1191 File "/a/django/django/tests/generic_relations/tests.py", line 493, in test_save_new_for_concrete
1192 self.assertNotIsInstance(new_obj.obj, ProxyRelatedModel)
1193AssertionError: <ProxyRelatedModel: ProxyRelatedModel object> is an instance of <class 'generic_relations.models.ProxyRelatedModel'>
1194
1195======================================================================
1196FAIL: test_tag_deletion_related_objects_unaffected (generic_relations.tests.GenericRelationsTests)
1197----------------------------------------------------------------------
1198Traceback (most recent call last):
1199 File "/a/django/django/tests/generic_relations/tests.py", line 240, in test_tag_deletion_related_objects_unaffected
1200 self.assertQuerysetEqual(self.lion.tags.all(), ["<TaggedItem: yellow>"])
1201 File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual
1202 return self.assertEqual(list(items), values, msg=msg)
1203AssertionError: Lists differ: [] != [u'<TaggedItem: yellow>']
1204
1205Second list contains 1 additional elements.
1206First extra element 0:
1207<TaggedItem: yellow>
1208
1209- []
1210+ [u'<TaggedItem: yellow>']
1211
1212======================================================================
1213FAIL: test_set_foreign_key (generic_relations.tests.GenericRelationsTests)
1214----------------------------------------------------------------------
1215Traceback (most recent call last):
1216 File "/a/django/django/tests/generic_relations/tests.py", line 163, in test_set_foreign_key
1217 ["<TaggedItem: shiny>"])
1218 File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual
1219 return self.assertEqual(list(items), values, msg=msg)
1220AssertionError: Lists differ: [] != [u'<TaggedItem: shiny>']
1221
1222Second list contains 1 additional elements.
1223First extra element 0:
1224<TaggedItem: shiny>
1225
1226- []
1227+ [u'<TaggedItem: shiny>']
1228
1229======================================================================
1230FAIL: test_object_deletion_without_generic_relation (generic_relations.tests.GenericRelationsTests)
1231----------------------------------------------------------------------
1232Traceback (most recent call last):
1233 File "/a/django/django/tests/generic_relations/tests.py", line 227, in test_object_deletion_without_generic_relation
1234 self.comp_func
1235 File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual
1236 return self.assertEqual(list(items), values, msg=msg)
1237AssertionError: Lists differ: [] != [(u'clearish', <class 'generic...
1238
1239Second list contains 5 additional elements.
1240First extra element 0:
1241(u'clearish', <class 'generic_relations.models.Mineral'>, 1)
1242
1243- []
1244+ [(u'clearish', <class 'generic_relations.models.Mineral'>, 1),
1245+ (u'fatty', <class 'generic_relations.models.Vegetable'>, 2),
1246+ (u'hairy', <class 'generic_relations.models.Animal'>, 1),
1247+ (u'salty', <class 'generic_relations.models.Vegetable'>, 2),
1248+ (u'yellow', <class 'generic_relations.models.Animal'>, 1)]
1249
1250======================================================================
1251FAIL: test_object_deletion_with_generic_relation (generic_relations.tests.GenericRelationsTests)
1252----------------------------------------------------------------------
1253Traceback (most recent call last):
1254 File "/a/django/django/tests/generic_relations/tests.py", line 201, in test_object_deletion_with_generic_relation
1255 self.comp_func
1256 File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual
1257 return self.assertEqual(list(items), values, msg=msg)
1258AssertionError: Lists differ: [] != [(u'fatty', <class 'generic_re...
1259
1260Second list contains 4 additional elements.
1261First extra element 0:
1262(u'fatty', <class 'generic_relations.models.Vegetable'>, 2)
1263
1264- []
1265+ [(u'fatty', <class 'generic_relations.models.Vegetable'>, 2),
1266+ (u'hairy', <class 'generic_relations.models.Animal'>, 1),
1267+ (u'salty', <class 'generic_relations.models.Vegetable'>, 2),
1268+ (u'yellow', <class 'generic_relations.models.Animal'>, 1)]
1269
1270======================================================================
1271FAIL: test_generic_relations_m2m_mimic (generic_relations.tests.GenericRelationsTests)
1272----------------------------------------------------------------------
1273Traceback (most recent call last):
1274 File "/a/django/django/tests/generic_relations/tests.py", line 92, in test_generic_relations_m2m_mimic
1275 "<TaggedItem: yellow>"
1276 File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual
1277 return self.assertEqual(list(items), values, msg=msg)
1278AssertionError: Lists differ: [] != [u'<TaggedItem: hairy>', u'<Ta...
1279
1280Second list contains 2 additional elements.
1281First extra element 0:
1282<TaggedItem: hairy>
1283
1284- []
1285+ [u'<TaggedItem: hairy>', u'<TaggedItem: yellow>']
1286
1287======================================================================
1288FAIL: test_generic_inline_formsets (generic_relations.tests.GenericRelationsTests)
1289----------------------------------------------------------------------
1290Traceback (most recent call last):
1291 File "/a/django/django/tests/generic_relations/tests.py", line 344, in test_generic_inline_formsets
1292 <p><label for="id_generic_relations-taggeditem-content_type-object_id-1-DELETE">Delete:</label> <input type="checkbox" name="generic_relations-taggeditem-content_type-object_id-1-DELETE" id="id_generic_relations-taggeditem-content_type-object_id-1-DELETE" /><input type="hidden" name="generic_relations-taggeditem-content_type-object_id-1-id" id="id_generic_relations-taggeditem-content_type-object_id-1-id" /></p>""" % tagged_item_id)
1293 File "/a/django/django/django/test/testcases.py", line 650, in assertHTMLEqual
1294 self.fail(self._formatMessage(msg, standardMsg))
1295AssertionError: <p>
1296<label for="id_generic_relations-taggeditem-content_type-object_id-0-tag">
1297T [truncated]... != <p>
1298<label for="id_generic_relations-taggeditem-content_type-object_id-0-tag">
1299T [truncated]...
1300Diff is 2448 characters long. Set self.maxDiff to None to see it.
1301
1302======================================================================
1303FAIL: test_exclude_generic_relations (generic_relations.tests.GenericRelationsTests)
1304----------------------------------------------------------------------
1305Traceback (most recent call last):
1306 File "/a/django/django/tests/generic_relations/tests.py", line 137, in test_exclude_generic_relations
1307 "<TaggedItem: shiny>"
1308 File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual
1309 return self.assertEqual(list(items), values, msg=msg)
1310AssertionError: Lists differ: [] != [u'<TaggedItem: clearish>', u'...
1311
1312Second list contains 2 additional elements.
1313First extra element 0:
1314<TaggedItem: clearish>
1315
1316- []
1317+ [u'<TaggedItem: clearish>', u'<TaggedItem: shiny>']
1318
1319======================================================================
1320FAIL: test_assign_with_queryset (generic_relations.tests.GenericRelationsTests)
1321----------------------------------------------------------------------
1322Traceback (most recent call last):
1323 File "/a/django/django/tests/generic_relations/tests.py", line 261, in test_assign_with_queryset
1324 self.assertEqual(1, bacon.tags.count())
1325AssertionError: 1 != 0
1326
1327======================================================================
1328FAIL: test_access_content_object (generic_relations.tests.GenericRelationsTests)
1329----------------------------------------------------------------------
1330Traceback (most recent call last):
1331 File "/a/django/django/tests/generic_relations/tests.py", line 104, in test_access_content_object
1332 self.assertEqual(tagged_item.content_object, self.bacon)
1333AssertionError: None != <Vegetable: Bacon>
1334
1335======================================================================
1336FAIL: test_works_normally (generic_relations.tests.ProxyRelatedModelTest)
1337----------------------------------------------------------------------
1338Traceback (most recent call last):
1339 File "/a/django/django/tests/generic_relations/tests.py", line 519, in test_works_normally
1340 self.assertEqual(base.obj, rel)
1341AssertionError: None != <ConcreteRelatedModel: ConcreteRelatedModel object>
1342
1343======================================================================
1344FAIL: test_proxy_is_returned (generic_relations.tests.ProxyRelatedModelTest)
1345----------------------------------------------------------------------
1346Traceback (most recent call last):
1347 File "/a/django/django/tests/generic_relations/tests.py", line 531, in test_proxy_is_returned
1348 self.assertIsInstance(base.obj, ProxyRelatedModel)
1349AssertionError: None is not an instance of <class 'generic_relations.models.ProxyRelatedModel'>
1350
1351======================================================================
1352FAIL: test_default_behavior (generic_relations.tests.ProxyRelatedModelTest)
1353----------------------------------------------------------------------
1354Traceback (most recent call last):
1355 File "/a/django/django/tests/generic_relations/tests.py", line 507, in test_default_behavior
1356 self.assertEqual(base.obj, rel)
1357AssertionError: None != <ConcreteRelatedModel: ConcreteRelatedModel object>
1358
1359======================================================================
1360FAIL: test_recentactions_without_content_type (admin_views.tests.AdminViewStringPrimaryKeyTest)
1361If a LogEntry is missing content_type it will not display it in span tag under the hyperlink.
1362----------------------------------------------------------------------
1363Traceback (most recent call last):
1364 File "/a/django/django/tests/admin_views/tests.py", line 1859, in test_recentactions_without_content_type
1365 self.assertContains(response, should_contain)
1366 File "/a/django/django/django/test/testcases.py", line 362, in assertContains
1367 msg_prefix + "Couldn't find %s in response" % text_repr)
1368AssertionError: Couldn't find '<a href="/test_admin/admin/admin_views/modelwithstringprimarykey/abcdefghijklmnopqrstuvwxyz%20ABCDEFGHIJKLMNOPQRSTUVWXYZ%201234567890%20-_5F.!~*&#39;()%20_3B_2F_3F_3A_40_26_3D_2B_24_2C%20_3C_3E_23_25_22%20%7B%7D%7C_5C%5E_5B_5D%60/">abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890 -_.!~*&#39;() ;/?:@&amp;=+$, &lt;&gt;#%&quot; {}|\^[]`</a>' in response
1369
1370======================================================================
1371FAIL: test_recentactions_link (admin_views.tests.AdminViewStringPrimaryKeyTest)
1372The link from the recent actions list referring to the changeform of the object should be quoted
1373----------------------------------------------------------------------
1374Traceback (most recent call last):
1375 File "/a/django/django/tests/admin_views/tests.py", line 1852, in test_recentactions_link
1376 self.assertContains(response, should_contain)
1377 File "/a/django/django/django/test/testcases.py", line 362, in assertContains
1378 msg_prefix + "Couldn't find %s in response" % text_repr)
1379AssertionError: Couldn't find '<a href="/test_admin/admin/admin_views/modelwithstringprimarykey/abcdefghijklmnopqrstuvwxyz%20ABCDEFGHIJKLMNOPQRSTUVWXYZ%201234567890%20-_5F.!~*&#39;()%20_3B_2F_3F_3A_40_26_3D_2B_24_2C%20_3C_3E_23_25_22%20%7B%7D%7C_5C%5E_5B_5D%60/">abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ 1234567890 -_.!~*&#39;() ;/?:@&amp;=+$, &lt;&gt;#%&quot; {}|\^[]`</a>' in response
1380
1381======================================================================
1382FAIL: test_group_permission_performance (admin_views.tests.GroupAdminTest)
1383----------------------------------------------------------------------
1384Traceback (most recent call last):
1385 File "/a/django/django/tests/admin_views/tests.py", line 4209, in test_group_permission_performance
1386 self.assertEqual(response.status_code, 200)
1387 File "/a/django/django/django/test/testcases.py", line 104, in __exit__
1388 query['sql'] for query in self.captured_queries
1389AssertionError: 7 queries executed, 8 expected
1390Captured queries were:
1391QUERY = u'SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = %s AND "django_session"."expire_date" > %s) LIMIT 21' - PARAMS = (u'sm1n5o7b1ii16ucyvsvf1tsu1eq3xpe5', u'2014-11-01 13:51:56.913823')
1392QUERY = u'SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = %s LIMIT 21' - PARAMS = (100,)
1393QUERY = u'SAVEPOINT "s140342241937152_x3924"' - PARAMS = ()
1394QUERY = u'SELECT "auth_group"."id", "auth_group"."name" FROM "auth_group" WHERE "auth_group"."id" = %s LIMIT 21' - PARAMS = (2,)
1395QUERY = u'SELECT "auth_permission"."id" FROM "auth_permission" INNER JOIN "auth_group_permissions" ON ( "auth_permission"."id" = "auth_group_permissions"."permission_id" ) INNER JOIN "django_content_type" ON ( "auth_permission"."content_type_id" = "django_content_type"."id" ) WHERE "auth_group_permissions"."group_id" = %s ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC' - PARAMS = (2,)
1396QUERY = u'RELEASE SAVEPOINT "s140342241937152_x3924"' - PARAMS = ()
1397QUERY = u'SELECT "auth_permission"."id", "auth_permission"."name", "auth_permission"."content_type_id", "auth_permission"."codename", "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "auth_permission" INNER JOIN "django_content_type" ON ( "auth_permission"."content_type_id" = "django_content_type"."id" ) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC' - PARAMS = ()
1398
1399======================================================================
1400FAIL: test_user_permission_performance (admin_views.tests.UserAdminTest)
1401----------------------------------------------------------------------
1402Traceback (most recent call last):
1403 File "/a/django/django/tests/admin_views/tests.py", line 4172, in test_user_permission_performance
1404 self.assertEqual(response.status_code, 200)
1405 File "/a/django/django/django/test/testcases.py", line 104, in __exit__
1406 query['sql'] for query in self.captured_queries
1407AssertionError: 14 queries executed, 10 expected
1408Captured queries were:
1409QUERY = u'SELECT "django_session"."session_key", "django_session"."session_data", "django_session"."expire_date" FROM "django_session" WHERE ("django_session"."session_key" = %s AND "django_session"."expire_date" > %s) LIMIT 21' - PARAMS = (u'katbub04kat8oftfc7yhue48xaz0tjhz', u'2014-11-01 13:52:06.436912')
1410QUERY = u'SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = %s LIMIT 21' - PARAMS = (100,)
1411QUERY = u'SAVEPOINT "s140342241937152_x4212"' - PARAMS = ()
1412QUERY = u'SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user"."is_superuser", "auth_user"."username", "auth_user"."first_name", "auth_user"."last_name", "auth_user"."email", "auth_user"."is_staff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user" WHERE "auth_user"."id" = %s LIMIT 21' - PARAMS = (100,)
1413QUERY = u'SELECT "auth_group"."id" FROM "auth_group" INNER JOIN "auth_user_groups" ON ( "auth_group"."id" = "auth_user_groups"."group_id" ) WHERE "auth_user_groups"."user_id" = %s' - PARAMS = (100,)
1414QUERY = u'SELECT "auth_permission"."id" FROM "auth_permission" INNER JOIN "auth_user_user_permissions" ON ( "auth_permission"."id" = "auth_user_user_permissions"."permission_id" ) INNER JOIN "django_content_type" ON ( "auth_permission"."content_type_id" = "django_content_type"."id" ) WHERE "auth_user_user_permissions"."user_id" = %s ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC' - PARAMS = (100,)
1415QUERY = u'SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = %s AND "django_content_type"."app_label" = %s) LIMIT 21' - PARAMS = (u'user', u'auth')
1416QUERY = u'SELECT "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "django_content_type" WHERE ("django_content_type"."model" = %s AND "django_content_type"."app_label" = %s) LIMIT 21' - PARAMS = (u'user', u'auth')
1417QUERY = u'SAVEPOINT "s140342241937152_x4213"' - PARAMS = ()
1418QUERY = u'INSERT INTO "django_content_type" ("name", "app_label", "model") VALUES (%s, %s, %s)' - PARAMS = (u'user', u'auth', u'user')
1419QUERY = u'RELEASE SAVEPOINT "s140342241937152_x4213"' - PARAMS = ()
1420QUERY = u'RELEASE SAVEPOINT "s140342241937152_x4212"' - PARAMS = ()
1421QUERY = u'SELECT "auth_group"."id", "auth_group"."name" FROM "auth_group" ORDER BY "auth_group"."name" ASC' - PARAMS = ()
1422QUERY = u'SELECT "auth_permission"."id", "auth_permission"."name", "auth_permission"."content_type_id", "auth_permission"."codename", "django_content_type"."id", "django_content_type"."name", "django_content_type"."app_label", "django_content_type"."model" FROM "auth_permission" INNER JOIN "django_content_type" ON ( "auth_permission"."content_type_id" = "django_content_type"."id" ) ORDER BY "django_content_type"."app_label" ASC, "django_content_type"."model" ASC, "auth_permission"."codename" ASC' - PARAMS = ()
1423
1424======================================================================
1425FAIL: test_class_definition_warnings (deprecation.tests.RenameMethodsTests)
1426----------------------------------------------------------------------
1427Traceback (most recent call last):
1428 File "/a/django/django/tests/deprecation/tests.py", line 37, in test_class_definition_warnings
1429 self.assertEqual(len(recorded), 1)
1430AssertionError: 0 != 1
1431
1432----------------------------------------------------------------------
1433Ran 7539 tests in 254.329s
1434
1435FAILED (failures=38, errors=56, skipped=515, expected failures=8)
1436
Back to Top