1 | ======================================================================
|
---|
2 | ERROR: test_inline_change_m2m_noperm (admin_inlines.tests.TestInlinePermissions)
|
---|
3 | ----------------------------------------------------------------------
|
---|
4 | Traceback (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)
|
---|
11 | DoesNotExist: Permission matching query does not exist.
|
---|
12 |
|
---|
13 | ======================================================================
|
---|
14 | ERROR: test_inline_change_m2m_change_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
15 | ----------------------------------------------------------------------
|
---|
16 | Traceback (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)
|
---|
23 | DoesNotExist: Permission matching query does not exist.
|
---|
24 |
|
---|
25 | ======================================================================
|
---|
26 | ERROR: test_inline_change_m2m_add_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
27 | ----------------------------------------------------------------------
|
---|
28 | Traceback (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)
|
---|
35 | DoesNotExist: Permission matching query does not exist.
|
---|
36 |
|
---|
37 | ======================================================================
|
---|
38 | ERROR: test_inline_change_fk_noperm (admin_inlines.tests.TestInlinePermissions)
|
---|
39 | ----------------------------------------------------------------------
|
---|
40 | Traceback (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)
|
---|
47 | DoesNotExist: Permission matching query does not exist.
|
---|
48 |
|
---|
49 | ======================================================================
|
---|
50 | ERROR: test_inline_change_fk_change_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
51 | ----------------------------------------------------------------------
|
---|
52 | Traceback (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)
|
---|
59 | DoesNotExist: Permission matching query does not exist.
|
---|
60 |
|
---|
61 | ======================================================================
|
---|
62 | ERROR: test_inline_change_fk_change_del_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
63 | ----------------------------------------------------------------------
|
---|
64 | Traceback (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)
|
---|
71 | DoesNotExist: Permission matching query does not exist.
|
---|
72 |
|
---|
73 | ======================================================================
|
---|
74 | ERROR: test_inline_change_fk_all_perms (admin_inlines.tests.TestInlinePermissions)
|
---|
75 | ----------------------------------------------------------------------
|
---|
76 | Traceback (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)
|
---|
83 | DoesNotExist: Permission matching query does not exist.
|
---|
84 |
|
---|
85 | ======================================================================
|
---|
86 | ERROR: test_inline_change_fk_add_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
87 | ----------------------------------------------------------------------
|
---|
88 | Traceback (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)
|
---|
95 | DoesNotExist: Permission matching query does not exist.
|
---|
96 |
|
---|
97 | ======================================================================
|
---|
98 | ERROR: test_inline_change_fk_add_change_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
99 | ----------------------------------------------------------------------
|
---|
100 | Traceback (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)
|
---|
107 | DoesNotExist: Permission matching query does not exist.
|
---|
108 |
|
---|
109 | ======================================================================
|
---|
110 | ERROR: test_inline_add_m2m_noperm (admin_inlines.tests.TestInlinePermissions)
|
---|
111 | ----------------------------------------------------------------------
|
---|
112 | Traceback (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)
|
---|
119 | DoesNotExist: Permission matching query does not exist.
|
---|
120 |
|
---|
121 | ======================================================================
|
---|
122 | ERROR: test_inline_add_m2m_add_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
123 | ----------------------------------------------------------------------
|
---|
124 | Traceback (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)
|
---|
131 | DoesNotExist: Permission matching query does not exist.
|
---|
132 |
|
---|
133 | ======================================================================
|
---|
134 | ERROR: test_inline_add_fk_noperm (admin_inlines.tests.TestInlinePermissions)
|
---|
135 | ----------------------------------------------------------------------
|
---|
136 | Traceback (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)
|
---|
143 | DoesNotExist: Permission matching query does not exist.
|
---|
144 |
|
---|
145 | ======================================================================
|
---|
146 | ERROR: test_inline_add_fk_add_perm (admin_inlines.tests.TestInlinePermissions)
|
---|
147 | ----------------------------------------------------------------------
|
---|
148 | Traceback (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)
|
---|
155 | DoesNotExist: Permission matching query does not exist.
|
---|
156 |
|
---|
157 | ======================================================================
|
---|
158 | ERROR: test_datefieldlistfilter_with_time_zone_support (admin_filters.tests.ListFiltersTests)
|
---|
159 | ----------------------------------------------------------------------
|
---|
160 | Traceback (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]
|
---|
169 | IndexError: list index out of range
|
---|
170 |
|
---|
171 | ======================================================================
|
---|
172 | ERROR: test_datefieldlistfilter (admin_filters.tests.ListFiltersTests)
|
---|
173 | ----------------------------------------------------------------------
|
---|
174 | Traceback (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]
|
---|
179 | IndexError: list index out of range
|
---|
180 |
|
---|
181 | ======================================================================
|
---|
182 | ERROR: test_booleanfieldlistfilter_tuple (admin_filters.tests.ListFiltersTests)
|
---|
183 | ----------------------------------------------------------------------
|
---|
184 | Traceback (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]
|
---|
191 | IndexError: list index out of range
|
---|
192 |
|
---|
193 | ======================================================================
|
---|
194 | ERROR: test_booleanfieldlistfilter (admin_filters.tests.ListFiltersTests)
|
---|
195 | ----------------------------------------------------------------------
|
---|
196 | Traceback (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]
|
---|
203 | IndexError: list index out of range
|
---|
204 |
|
---|
205 | ======================================================================
|
---|
206 | ERROR: test_server_open (mail.tests.SMTPBackendTests)
|
---|
207 | ----------------------------------------------------------------------
|
---|
208 | Traceback (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
|
---|
221 | error: [Errno 111] Connection refused
|
---|
222 |
|
---|
223 | ======================================================================
|
---|
224 | ERROR: test_send_verbose_name (mail.tests.SMTPBackendTests)
|
---|
225 | ----------------------------------------------------------------------
|
---|
226 | Traceback (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
|
---|
243 | error: [Errno 111] Connection refused
|
---|
244 |
|
---|
245 | ======================================================================
|
---|
246 | ERROR: test_send_unicode (mail.tests.SMTPBackendTests)
|
---|
247 | ----------------------------------------------------------------------
|
---|
248 | Traceback (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
|
---|
263 | error: [Errno 111] Connection refused
|
---|
264 |
|
---|
265 | ======================================================================
|
---|
266 | ERROR: test_send_many (mail.tests.SMTPBackendTests)
|
---|
267 | ----------------------------------------------------------------------
|
---|
268 | Traceback (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
|
---|
283 | error: [Errno 111] Connection refused
|
---|
284 |
|
---|
285 | ======================================================================
|
---|
286 | ERROR: test_send (mail.tests.SMTPBackendTests)
|
---|
287 | ----------------------------------------------------------------------
|
---|
288 | Traceback (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
|
---|
303 | error: [Errno 111] Connection refused
|
---|
304 |
|
---|
305 | ======================================================================
|
---|
306 | ERROR: test_recipient_without_domain (mail.tests.SMTPBackendTests)
|
---|
307 | ----------------------------------------------------------------------
|
---|
308 | Traceback (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
|
---|
327 | error: [Errno 111] Connection refused
|
---|
328 |
|
---|
329 | ======================================================================
|
---|
330 | ERROR: test_plaintext_send_mail (mail.tests.SMTPBackendTests)
|
---|
331 | ----------------------------------------------------------------------
|
---|
332 | Traceback (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
|
---|
351 | error: [Errno 111] Connection refused
|
---|
352 |
|
---|
353 | ======================================================================
|
---|
354 | ERROR: test_message_cc_header (mail.tests.SMTPBackendTests)
|
---|
355 | ----------------------------------------------------------------------
|
---|
356 | Traceback (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
|
---|
371 | error: [Errno 111] Connection refused
|
---|
372 |
|
---|
373 | ======================================================================
|
---|
374 | ERROR: test_manager_and_admin_mail_prefix (mail.tests.SMTPBackendTests)
|
---|
375 | ----------------------------------------------------------------------
|
---|
376 | Traceback (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
|
---|
397 | error: [Errno 111] Connection refused
|
---|
398 |
|
---|
399 | ======================================================================
|
---|
400 | ERROR: test_idn_send (mail.tests.SMTPBackendTests)
|
---|
401 | ----------------------------------------------------------------------
|
---|
402 | Traceback (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
|
---|
421 | error: [Errno 111] Connection refused
|
---|
422 |
|
---|
423 | ======================================================================
|
---|
424 | ERROR: test_html_send_mail (mail.tests.SMTPBackendTests)
|
---|
425 | Test html_message argument to send_mail
|
---|
426 | ----------------------------------------------------------------------
|
---|
427 | Traceback (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
|
---|
446 | error: [Errno 111] Connection refused
|
---|
447 |
|
---|
448 | ======================================================================
|
---|
449 | ERROR: test_html_mail_managers (mail.tests.SMTPBackendTests)
|
---|
450 | Test html_message argument to mail_managers
|
---|
451 | ----------------------------------------------------------------------
|
---|
452 | Traceback (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
|
---|
473 | error: [Errno 111] Connection refused
|
---|
474 |
|
---|
475 | ======================================================================
|
---|
476 | ERROR: test_html_mail_admins (mail.tests.SMTPBackendTests)
|
---|
477 | Test html_message argument to mail_admins
|
---|
478 | ----------------------------------------------------------------------
|
---|
479 | Traceback (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
|
---|
500 | error: [Errno 111] Connection refused
|
---|
501 |
|
---|
502 | ======================================================================
|
---|
503 | ERROR: test_email_tls_attempts_starttls (mail.tests.SMTPBackendTests)
|
---|
504 | ----------------------------------------------------------------------
|
---|
505 | Traceback (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
|
---|
526 | error: [Errno 111] Connection refused
|
---|
527 |
|
---|
528 | ======================================================================
|
---|
529 | ERROR: test_email_ssl_attempts_ssl_connection (mail.tests.SMTPBackendTests)
|
---|
530 | ----------------------------------------------------------------------
|
---|
531 | Traceback (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
|
---|
550 | error: [Errno 111] Connection refused
|
---|
551 |
|
---|
552 | ======================================================================
|
---|
553 | ERROR: test_email_msg_uses_crlf (mail.tests.SMTPBackendTests)
|
---|
554 | #23063 -- Test that RFC-compliant messages are sent over SMTP.
|
---|
555 | ----------------------------------------------------------------------
|
---|
556 | Traceback (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
|
---|
571 | error: [Errno 111] Connection refused
|
---|
572 |
|
---|
573 | ======================================================================
|
---|
574 | ERROR: test_connection_timeout_custom (mail.tests.SMTPBackendTests)
|
---|
575 | Test that the timeout parameter can be customized.
|
---|
576 | ----------------------------------------------------------------------
|
---|
577 | Traceback (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
|
---|
590 | error: [Errno 111] Connection refused
|
---|
591 |
|
---|
592 | ======================================================================
|
---|
593 | ERROR: test_auth_attempted (mail.tests.SMTPBackendTests)
|
---|
594 | ----------------------------------------------------------------------
|
---|
595 | Traceback (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
|
---|
614 | error: [Errno 111] Connection refused
|
---|
615 |
|
---|
616 | ======================================================================
|
---|
617 | ERROR: test_output_formats (fixtures.tests.FixtureLoadingTests)
|
---|
618 | ----------------------------------------------------------------------
|
---|
619 | Traceback (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)
|
---|
644 | DeserializationError: Problem installing fixture '/a/django/django/tests/fixtures/fixtures/fixture6.json': ContentType matching query does not exist.
|
---|
645 |
|
---|
646 | ======================================================================
|
---|
647 | ERROR: test_loading_and_dumping (fixtures.tests.FixtureLoadingTests)
|
---|
648 | ----------------------------------------------------------------------
|
---|
649 | Traceback (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)
|
---|
674 | DeserializationError: Problem installing fixture '/a/django/django/tests/fixtures/fixtures/fixture6.json': ContentType matching query does not exist.
|
---|
675 |
|
---|
676 | ======================================================================
|
---|
677 | ERROR: test_generic_relation (generic_relations.tests.ProxyRelatedModelTest)
|
---|
678 | ----------------------------------------------------------------------
|
---|
679 | Traceback (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)
|
---|
682 | AttributeError: 'NoneType' object has no attribute 'pk'
|
---|
683 |
|
---|
684 | ======================================================================
|
---|
685 | ERROR: test_index (admin_docs.tests.AdminDocViewTests)
|
---|
686 | ----------------------------------------------------------------------
|
---|
687 | Traceback (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)
|
---|
726 | DoesNotExist: Site matching query does not exist.
|
---|
727 |
|
---|
728 | ======================================================================
|
---|
729 | ERROR: test_shortcut_view_only_available_to_staff (admin_views.tests.AdminViewPermissionsTest)
|
---|
730 | ----------------------------------------------------------------------
|
---|
731 | Traceback (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)
|
---|
740 | DoesNotExist: Permission matching query does not exist.
|
---|
741 |
|
---|
742 | ======================================================================
|
---|
743 | ERROR: test_overriding_has_module_permission (admin_views.tests.AdminViewPermissionsTest)
|
---|
744 | ----------------------------------------------------------------------
|
---|
745 | Traceback (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)
|
---|
754 | DoesNotExist: Permission matching query does not exist.
|
---|
755 |
|
---|
756 | ======================================================================
|
---|
757 | ERROR: test_login_successfully_redirects_to_original_URL (admin_views.tests.AdminViewPermissionsTest)
|
---|
758 | ----------------------------------------------------------------------
|
---|
759 | Traceback (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)
|
---|
768 | DoesNotExist: Permission matching query does not exist.
|
---|
769 |
|
---|
770 | ======================================================================
|
---|
771 | ERROR: test_login (admin_views.tests.AdminViewPermissionsTest)
|
---|
772 | ----------------------------------------------------------------------
|
---|
773 | Traceback (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)
|
---|
782 | DoesNotExist: Permission matching query does not exist.
|
---|
783 |
|
---|
784 | ======================================================================
|
---|
785 | ERROR: test_history_view (admin_views.tests.AdminViewPermissionsTest)
|
---|
786 | History view should restrict access.
|
---|
787 | ----------------------------------------------------------------------
|
---|
788 | Traceback (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)
|
---|
797 | DoesNotExist: Permission matching query does not exist.
|
---|
798 |
|
---|
799 | ======================================================================
|
---|
800 | ERROR: test_has_module_permission (admin_views.tests.AdminViewPermissionsTest)
|
---|
801 | ----------------------------------------------------------------------
|
---|
802 | Traceback (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)
|
---|
811 | DoesNotExist: Permission matching query does not exist.
|
---|
812 |
|
---|
813 | ======================================================================
|
---|
814 | ERROR: test_double_login_is_not_allowed (admin_views.tests.AdminViewPermissionsTest)
|
---|
815 | Regression test for #19327
|
---|
816 | ----------------------------------------------------------------------
|
---|
817 | Traceback (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)
|
---|
826 | DoesNotExist: Permission matching query does not exist.
|
---|
827 |
|
---|
828 | ======================================================================
|
---|
829 | ERROR: test_disabled_staff_permissions_when_logged_in (admin_views.tests.AdminViewPermissionsTest)
|
---|
830 | ----------------------------------------------------------------------
|
---|
831 | Traceback (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)
|
---|
840 | DoesNotExist: Permission matching query does not exist.
|
---|
841 |
|
---|
842 | ======================================================================
|
---|
843 | ERROR: test_disabled_permissions_when_logged_in (admin_views.tests.AdminViewPermissionsTest)
|
---|
844 | ----------------------------------------------------------------------
|
---|
845 | Traceback (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)
|
---|
854 | DoesNotExist: Permission matching query does not exist.
|
---|
855 |
|
---|
856 | ======================================================================
|
---|
857 | ERROR: test_delete_view (admin_views.tests.AdminViewPermissionsTest)
|
---|
858 | Delete view should restrict access and actually delete items.
|
---|
859 | ----------------------------------------------------------------------
|
---|
860 | Traceback (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)
|
---|
869 | DoesNotExist: Permission matching query does not exist.
|
---|
870 |
|
---|
871 | ======================================================================
|
---|
872 | ERROR: test_custom_model_admin_templates (admin_views.tests.AdminViewPermissionsTest)
|
---|
873 | ----------------------------------------------------------------------
|
---|
874 | Traceback (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)
|
---|
883 | DoesNotExist: Permission matching query does not exist.
|
---|
884 |
|
---|
885 | ======================================================================
|
---|
886 | ERROR: test_conditionally_show_add_section_link (admin_views.tests.AdminViewPermissionsTest)
|
---|
887 | ----------------------------------------------------------------------
|
---|
888 | Traceback (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)
|
---|
897 | DoesNotExist: Permission matching query does not exist.
|
---|
898 |
|
---|
899 | ======================================================================
|
---|
900 | ERROR: test_change_view (admin_views.tests.AdminViewPermissionsTest)
|
---|
901 | Change view should restrict access and allow users to edit items.
|
---|
902 | ----------------------------------------------------------------------
|
---|
903 | Traceback (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)
|
---|
912 | DoesNotExist: Permission matching query does not exist.
|
---|
913 |
|
---|
914 | ======================================================================
|
---|
915 | ERROR: test_app_index_fail_early (admin_views.tests.AdminViewPermissionsTest)
|
---|
916 | ----------------------------------------------------------------------
|
---|
917 | Traceback (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)
|
---|
926 | DoesNotExist: Permission matching query does not exist.
|
---|
927 |
|
---|
928 | ======================================================================
|
---|
929 | ERROR: test_add_view (admin_views.tests.AdminViewPermissionsTest)
|
---|
930 | Test add view restricts access and actually adds items.
|
---|
931 | ----------------------------------------------------------------------
|
---|
932 | Traceback (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)
|
---|
941 | DoesNotExist: Permission matching query does not exist.
|
---|
942 |
|
---|
943 | ======================================================================
|
---|
944 | ERROR: test_logentry_get_admin_url (admin_views.tests.AdminViewStringPrimaryKeyTest)
|
---|
945 | LogEntry.get_admin_url returns a URL to edit the entry's object or None for non-existent (possibly deleted) models
|
---|
946 | ----------------------------------------------------------------------
|
---|
947 | Traceback (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)
|
---|
954 | DoesNotExist: LogEntry matching query does not exist.
|
---|
955 |
|
---|
956 | ======================================================================
|
---|
957 | ERROR: test_no_standard_modeladmin_urls (admin_views.tests.AdminViewsNoUrlTest)
|
---|
958 | Admin index views don't break when user's ModelAdmin removes standard urls
|
---|
959 | ----------------------------------------------------------------------
|
---|
960 | Traceback (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)
|
---|
969 | DoesNotExist: Permission matching query does not exist.
|
---|
970 |
|
---|
971 | ======================================================================
|
---|
972 | FAIL: test_generic_relation_ordering (generic_relations_regress.tests.GenericRelationTests)
|
---|
973 | ----------------------------------------------------------------------
|
---|
974 | Traceback (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)
|
---|
977 | AssertionError: 3 != 2
|
---|
978 |
|
---|
979 | ======================================================================
|
---|
980 | FAIL: test_annotate (generic_relations_regress.tests.GenericRelationTests)
|
---|
981 | ----------------------------------------------------------------------
|
---|
982 | Traceback (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)
|
---|
985 | AssertionError: 2 != 1
|
---|
986 |
|
---|
987 | ======================================================================
|
---|
988 | FAIL: test_get_cache_key (cache.tests.CacheUtils)
|
---|
989 | ----------------------------------------------------------------------
|
---|
990 | Traceback (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))
|
---|
993 | AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None
|
---|
994 |
|
---|
995 | ======================================================================
|
---|
996 | FAIL: test_get_cache_key (cache.tests.PrefixedCacheUtils)
|
---|
997 | ----------------------------------------------------------------------
|
---|
998 | Traceback (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))
|
---|
1001 | AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None
|
---|
1002 |
|
---|
1003 | ======================================================================
|
---|
1004 | FAIL: test_admin_URLs_no_clash (admin_custom_urls.tests.AdminCustomUrlsTest)
|
---|
1005 | ----------------------------------------------------------------------
|
---|
1006 | Traceback (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)
|
---|
1011 | AssertionError: Couldn't find 'Change action' in response
|
---|
1012 |
|
---|
1013 | ======================================================================
|
---|
1014 | FAIL: test_permissions_created (proxy_models.tests.ProxyModelTests)
|
---|
1015 | ----------------------------------------------------------------------
|
---|
1016 | Traceback (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")
|
---|
1019 | AssertionError: The permission 'May display users information' has not been created
|
---|
1020 |
|
---|
1021 | ======================================================================
|
---|
1022 | FAIL: test_simplelistfilter_with_queryset_based_lookups (admin_filters.tests.ListFiltersTests)
|
---|
1023 | ----------------------------------------------------------------------
|
---|
1024 | Traceback (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')
|
---|
1027 | AssertionError: <django.utils.functional.__proxy__ object at 0xcd8c850> != u'All'
|
---|
1028 |
|
---|
1029 | ======================================================================
|
---|
1030 | FAIL: test_simplelistfilter (admin_filters.tests.ListFiltersTests)
|
---|
1031 | ----------------------------------------------------------------------
|
---|
1032 | Traceback (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')
|
---|
1035 | AssertionError: <django.utils.functional.__proxy__ object at 0xcd9b090> != u'All'
|
---|
1036 |
|
---|
1037 | ======================================================================
|
---|
1038 | FAIL: test_lookup_with_dynamic_value (admin_filters.tests.ListFiltersTests)
|
---|
1039 | ----------------------------------------------------------------------
|
---|
1040 | Traceback (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)
|
---|
1045 | AssertionError: Tuples differ: (<django.utils.functional.__pr... != (u'All', u"the 1980's", u"the ...
|
---|
1046 |
|
---|
1047 | First differing element 0:
|
---|
1048 | <django.utils.functional.__proxy__ object at 0xcda0690>
|
---|
1049 | All
|
---|
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 | ======================================================================
|
---|
1057 | FAIL: test_fk_with_to_field (admin_filters.tests.ListFiltersTests)
|
---|
1058 | ----------------------------------------------------------------------
|
---|
1059 | Traceback (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')
|
---|
1062 | AssertionError: <django.utils.functional.__proxy__ object at 0xcda4d50> != u'All'
|
---|
1063 |
|
---|
1064 | ======================================================================
|
---|
1065 | FAIL: test_has_delete_permission (modeladmin.tests.ModelAdminPermissionTests)
|
---|
1066 | ----------------------------------------------------------------------
|
---|
1067 | Traceback (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))
|
---|
1070 | AssertionError: False is not true
|
---|
1071 |
|
---|
1072 | ======================================================================
|
---|
1073 | FAIL: test_has_change_permission (modeladmin.tests.ModelAdminPermissionTests)
|
---|
1074 | ----------------------------------------------------------------------
|
---|
1075 | Traceback (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))
|
---|
1078 | AssertionError: False is not true
|
---|
1079 |
|
---|
1080 | ======================================================================
|
---|
1081 | FAIL: test_has_add_permission (modeladmin.tests.ModelAdminPermissionTests)
|
---|
1082 | ----------------------------------------------------------------------
|
---|
1083 | Traceback (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))
|
---|
1086 | AssertionError: False is not true
|
---|
1087 |
|
---|
1088 | ======================================================================
|
---|
1089 | FAIL: test_foreign_key_as_radio_field (modeladmin.tests.ModelAdminTests)
|
---|
1090 | ----------------------------------------------------------------------
|
---|
1091 | Traceback (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')])
|
---|
1094 | AssertionError: Lists differ: [(u'', u'Ei arvoa'), (1, u'The... != [(u'', u'None'), (1, u'The Doo...
|
---|
1095 |
|
---|
1096 | First 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 | ======================================================================
|
---|
1108 | FAIL: test_invalid_block_suggestion (template_tests.tests.TemplateRegressionTests)
|
---|
1109 | ----------------------------------------------------------------------
|
---|
1110 | Traceback (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'")
|
---|
1113 | AssertionError: 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 | ======================================================================
|
---|
1121 | FAIL: test_templates (template_tests.tests.TemplateTests)
|
---|
1122 | ----------------------------------------------------------------------
|
---|
1123 | Traceback (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)))
|
---|
1126 | AssertionError: Tests failed:
|
---|
1127 | ----------------------------------------------------------------------
|
---|
1128 | Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1129 | ----------------------------------------------------------------------
|
---|
1130 | Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1131 | ----------------------------------------------------------------------
|
---|
1132 | Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1133 | ----------------------------------------------------------------------
|
---|
1134 | Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1135 | ----------------------------------------------------------------------
|
---|
1136 | Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1137 | ----------------------------------------------------------------------
|
---|
1138 | Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1139 | ----------------------------------------------------------------------
|
---|
1140 | Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1141 | ----------------------------------------------------------------------
|
---|
1142 | Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1143 | ----------------------------------------------------------------------
|
---|
1144 | Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1145 | ----------------------------------------------------------------------
|
---|
1146 | Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1147 | ----------------------------------------------------------------------
|
---|
1148 | Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1149 | ----------------------------------------------------------------------
|
---|
1150 | Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014'
|
---|
1151 |
|
---|
1152 | ======================================================================
|
---|
1153 | FAIL: test_deprecation (utils_tests.test_text.TestUtilsText)
|
---|
1154 | ----------------------------------------------------------------------
|
---|
1155 | Traceback (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)
|
---|
1158 | AssertionError: 0 != 1
|
---|
1159 |
|
---|
1160 | ======================================================================
|
---|
1161 | FAIL: test_shortcut_with_absolute_url (contenttypes_tests.tests.ContentTypesViewsTests)
|
---|
1162 | Can view a shortcut for an Author object that has a get_absolute_url method
|
---|
1163 | ----------------------------------------------------------------------
|
---|
1164 | Traceback (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))
|
---|
1169 | AssertionError: Response didn't redirect as expected: Response code was 404 (expected 302)
|
---|
1170 |
|
---|
1171 | ======================================================================
|
---|
1172 | FAIL: test_interactive_true (contenttypes_tests.tests.UpdateContentTypesTests)
|
---|
1173 | ----------------------------------------------------------------------
|
---|
1174 | Traceback (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)
|
---|
1177 | AssertionError: 3 != 0
|
---|
1178 |
|
---|
1179 | ======================================================================
|
---|
1180 | FAIL: test_interactive_false (contenttypes_tests.tests.UpdateContentTypesTests)
|
---|
1181 | ----------------------------------------------------------------------
|
---|
1182 | Traceback (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)
|
---|
1185 | AssertionError: 4 != 1
|
---|
1186 |
|
---|
1187 | ======================================================================
|
---|
1188 | FAIL: test_save_new_for_concrete (generic_relations.tests.GenericInlineFormsetTest)
|
---|
1189 | ----------------------------------------------------------------------
|
---|
1190 | Traceback (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)
|
---|
1193 | AssertionError: <ProxyRelatedModel: ProxyRelatedModel object> is an instance of <class 'generic_relations.models.ProxyRelatedModel'>
|
---|
1194 |
|
---|
1195 | ======================================================================
|
---|
1196 | FAIL: test_tag_deletion_related_objects_unaffected (generic_relations.tests.GenericRelationsTests)
|
---|
1197 | ----------------------------------------------------------------------
|
---|
1198 | Traceback (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)
|
---|
1203 | AssertionError: Lists differ: [] != [u'<TaggedItem: yellow>']
|
---|
1204 |
|
---|
1205 | Second list contains 1 additional elements.
|
---|
1206 | First extra element 0:
|
---|
1207 | <TaggedItem: yellow>
|
---|
1208 |
|
---|
1209 | - []
|
---|
1210 | + [u'<TaggedItem: yellow>']
|
---|
1211 |
|
---|
1212 | ======================================================================
|
---|
1213 | FAIL: test_set_foreign_key (generic_relations.tests.GenericRelationsTests)
|
---|
1214 | ----------------------------------------------------------------------
|
---|
1215 | Traceback (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)
|
---|
1220 | AssertionError: Lists differ: [] != [u'<TaggedItem: shiny>']
|
---|
1221 |
|
---|
1222 | Second list contains 1 additional elements.
|
---|
1223 | First extra element 0:
|
---|
1224 | <TaggedItem: shiny>
|
---|
1225 |
|
---|
1226 | - []
|
---|
1227 | + [u'<TaggedItem: shiny>']
|
---|
1228 |
|
---|
1229 | ======================================================================
|
---|
1230 | FAIL: test_object_deletion_without_generic_relation (generic_relations.tests.GenericRelationsTests)
|
---|
1231 | ----------------------------------------------------------------------
|
---|
1232 | Traceback (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)
|
---|
1237 | AssertionError: Lists differ: [] != [(u'clearish', <class 'generic...
|
---|
1238 |
|
---|
1239 | Second list contains 5 additional elements.
|
---|
1240 | First 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 | ======================================================================
|
---|
1251 | FAIL: test_object_deletion_with_generic_relation (generic_relations.tests.GenericRelationsTests)
|
---|
1252 | ----------------------------------------------------------------------
|
---|
1253 | Traceback (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)
|
---|
1258 | AssertionError: Lists differ: [] != [(u'fatty', <class 'generic_re...
|
---|
1259 |
|
---|
1260 | Second list contains 4 additional elements.
|
---|
1261 | First 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 | ======================================================================
|
---|
1271 | FAIL: test_generic_relations_m2m_mimic (generic_relations.tests.GenericRelationsTests)
|
---|
1272 | ----------------------------------------------------------------------
|
---|
1273 | Traceback (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)
|
---|
1278 | AssertionError: Lists differ: [] != [u'<TaggedItem: hairy>', u'<Ta...
|
---|
1279 |
|
---|
1280 | Second list contains 2 additional elements.
|
---|
1281 | First extra element 0:
|
---|
1282 | <TaggedItem: hairy>
|
---|
1283 |
|
---|
1284 | - []
|
---|
1285 | + [u'<TaggedItem: hairy>', u'<TaggedItem: yellow>']
|
---|
1286 |
|
---|
1287 | ======================================================================
|
---|
1288 | FAIL: test_generic_inline_formsets (generic_relations.tests.GenericRelationsTests)
|
---|
1289 | ----------------------------------------------------------------------
|
---|
1290 | Traceback (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))
|
---|
1295 | AssertionError: <p>
|
---|
1296 | <label for="id_generic_relations-taggeditem-content_type-object_id-0-tag">
|
---|
1297 | T [truncated]... != <p>
|
---|
1298 | <label for="id_generic_relations-taggeditem-content_type-object_id-0-tag">
|
---|
1299 | T [truncated]...
|
---|
1300 | Diff is 2448 characters long. Set self.maxDiff to None to see it.
|
---|
1301 |
|
---|
1302 | ======================================================================
|
---|
1303 | FAIL: test_exclude_generic_relations (generic_relations.tests.GenericRelationsTests)
|
---|
1304 | ----------------------------------------------------------------------
|
---|
1305 | Traceback (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)
|
---|
1310 | AssertionError: Lists differ: [] != [u'<TaggedItem: clearish>', u'...
|
---|
1311 |
|
---|
1312 | Second list contains 2 additional elements.
|
---|
1313 | First extra element 0:
|
---|
1314 | <TaggedItem: clearish>
|
---|
1315 |
|
---|
1316 | - []
|
---|
1317 | + [u'<TaggedItem: clearish>', u'<TaggedItem: shiny>']
|
---|
1318 |
|
---|
1319 | ======================================================================
|
---|
1320 | FAIL: test_assign_with_queryset (generic_relations.tests.GenericRelationsTests)
|
---|
1321 | ----------------------------------------------------------------------
|
---|
1322 | Traceback (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())
|
---|
1325 | AssertionError: 1 != 0
|
---|
1326 |
|
---|
1327 | ======================================================================
|
---|
1328 | FAIL: test_access_content_object (generic_relations.tests.GenericRelationsTests)
|
---|
1329 | ----------------------------------------------------------------------
|
---|
1330 | Traceback (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)
|
---|
1333 | AssertionError: None != <Vegetable: Bacon>
|
---|
1334 |
|
---|
1335 | ======================================================================
|
---|
1336 | FAIL: test_works_normally (generic_relations.tests.ProxyRelatedModelTest)
|
---|
1337 | ----------------------------------------------------------------------
|
---|
1338 | Traceback (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)
|
---|
1341 | AssertionError: None != <ConcreteRelatedModel: ConcreteRelatedModel object>
|
---|
1342 |
|
---|
1343 | ======================================================================
|
---|
1344 | FAIL: test_proxy_is_returned (generic_relations.tests.ProxyRelatedModelTest)
|
---|
1345 | ----------------------------------------------------------------------
|
---|
1346 | Traceback (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)
|
---|
1349 | AssertionError: None is not an instance of <class 'generic_relations.models.ProxyRelatedModel'>
|
---|
1350 |
|
---|
1351 | ======================================================================
|
---|
1352 | FAIL: test_default_behavior (generic_relations.tests.ProxyRelatedModelTest)
|
---|
1353 | ----------------------------------------------------------------------
|
---|
1354 | Traceback (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)
|
---|
1357 | AssertionError: None != <ConcreteRelatedModel: ConcreteRelatedModel object>
|
---|
1358 |
|
---|
1359 | ======================================================================
|
---|
1360 | FAIL: test_recentactions_without_content_type (admin_views.tests.AdminViewStringPrimaryKeyTest)
|
---|
1361 | If a LogEntry is missing content_type it will not display it in span tag under the hyperlink.
|
---|
1362 | ----------------------------------------------------------------------
|
---|
1363 | Traceback (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)
|
---|
1368 | AssertionError: Couldn't find '<a href="/test_admin/admin/admin_views/modelwithstringprimarykey/abcdefghijklmnopqrstuvwxyz%20ABCDEFGHIJKLMNOPQRSTUVWXYZ%201234567890%20-_5F.!~*'()%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 -_.!~*'() ;/?:@&=+$, <>#%" {}|\^[]`</a>' in response
|
---|
1369 |
|
---|
1370 | ======================================================================
|
---|
1371 | FAIL: test_recentactions_link (admin_views.tests.AdminViewStringPrimaryKeyTest)
|
---|
1372 | The link from the recent actions list referring to the changeform of the object should be quoted
|
---|
1373 | ----------------------------------------------------------------------
|
---|
1374 | Traceback (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)
|
---|
1379 | AssertionError: Couldn't find '<a href="/test_admin/admin/admin_views/modelwithstringprimarykey/abcdefghijklmnopqrstuvwxyz%20ABCDEFGHIJKLMNOPQRSTUVWXYZ%201234567890%20-_5F.!~*'()%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 -_.!~*'() ;/?:@&=+$, <>#%" {}|\^[]`</a>' in response
|
---|
1380 |
|
---|
1381 | ======================================================================
|
---|
1382 | FAIL: test_group_permission_performance (admin_views.tests.GroupAdminTest)
|
---|
1383 | ----------------------------------------------------------------------
|
---|
1384 | Traceback (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
|
---|
1389 | AssertionError: 7 queries executed, 8 expected
|
---|
1390 | Captured queries were:
|
---|
1391 | QUERY = 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')
|
---|
1392 | QUERY = 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,)
|
---|
1393 | QUERY = u'SAVEPOINT "s140342241937152_x3924"' - PARAMS = ()
|
---|
1394 | QUERY = u'SELECT "auth_group"."id", "auth_group"."name" FROM "auth_group" WHERE "auth_group"."id" = %s LIMIT 21' - PARAMS = (2,)
|
---|
1395 | QUERY = 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,)
|
---|
1396 | QUERY = u'RELEASE SAVEPOINT "s140342241937152_x3924"' - PARAMS = ()
|
---|
1397 | QUERY = 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 | ======================================================================
|
---|
1400 | FAIL: test_user_permission_performance (admin_views.tests.UserAdminTest)
|
---|
1401 | ----------------------------------------------------------------------
|
---|
1402 | Traceback (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
|
---|
1407 | AssertionError: 14 queries executed, 10 expected
|
---|
1408 | Captured queries were:
|
---|
1409 | QUERY = 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')
|
---|
1410 | QUERY = 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,)
|
---|
1411 | QUERY = u'SAVEPOINT "s140342241937152_x4212"' - PARAMS = ()
|
---|
1412 | QUERY = 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,)
|
---|
1413 | QUERY = 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,)
|
---|
1414 | QUERY = 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,)
|
---|
1415 | QUERY = 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')
|
---|
1416 | QUERY = 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')
|
---|
1417 | QUERY = u'SAVEPOINT "s140342241937152_x4213"' - PARAMS = ()
|
---|
1418 | QUERY = u'INSERT INTO "django_content_type" ("name", "app_label", "model") VALUES (%s, %s, %s)' - PARAMS = (u'user', u'auth', u'user')
|
---|
1419 | QUERY = u'RELEASE SAVEPOINT "s140342241937152_x4213"' - PARAMS = ()
|
---|
1420 | QUERY = u'RELEASE SAVEPOINT "s140342241937152_x4212"' - PARAMS = ()
|
---|
1421 | QUERY = u'SELECT "auth_group"."id", "auth_group"."name" FROM "auth_group" ORDER BY "auth_group"."name" ASC' - PARAMS = ()
|
---|
1422 | QUERY = 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 | ======================================================================
|
---|
1425 | FAIL: test_class_definition_warnings (deprecation.tests.RenameMethodsTests)
|
---|
1426 | ----------------------------------------------------------------------
|
---|
1427 | Traceback (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)
|
---|
1430 | AssertionError: 0 != 1
|
---|
1431 |
|
---|
1432 | ----------------------------------------------------------------------
|
---|
1433 | Ran 7539 tests in 254.329s
|
---|
1434 |
|
---|
1435 | FAILED (failures=38, errors=56, skipped=515, expected failures=8)
|
---|
1436 |
|
---|