| 1 | mail.tests.SMTPBackendTests:
|
|---|
| 2 | test_server_stopped should restart the server
|
|---|
| 3 |
|
|---|
| 4 | modeladmin.tests.ModelAdminPermissionTests:
|
|---|
| 5 | test_has_module_permission should restore the opts.app_label
|
|---|
| 6 |
|
|---|
| 7 | admin_views.tests.GroupAdminTest.test_group_permission_performance:
|
|---|
| 8 | assertNumQueries and caching, see #23746
|
|---|
| 9 |
|
|---|
| 10 | model_forms, test_client:
|
|---|
| 11 | some other test seems to leave Finnish activated, maybe:
|
|---|
| 12 | foreignobject.MultiColumnFKTests.test_inheritance
|
|---|
| 13 |
|
|---|
| 14 | staticfiles_tests.tests.TestCollectionCachedStorage.test_template_tag_denorm:
|
|---|
| 15 | some side-effect in TestCollectionSimpleCachedStorage
|
|---|
| 16 |
|
|---|
| 17 | cache.tests.CacheUtils/PrefixedCacheUtils.test_get_cache_key:
|
|---|
| 18 | test_learn_cache_key remembers to vary by pony
|
|---|
| 19 |
|
|---|
| 20 | cache.tests.GetCacheTests.test_close:
|
|---|
| 21 | looks dependent on test_simple running first
|
|---|
| 22 |
|
|---|
| 23 | deprecation.tests.RenameMethodsTests.test_class_definition_warnings,
|
|---|
| 24 | ignoring a warning once leaves it ignored even if warnings filter
|
|---|
| 25 | is reset to 'always', see: http://stackoverflow.com/questions/2390766/
|
|---|
| 26 |
|
|---|
| 27 | utils_tests.test_text.TestUtilsText.test_deprecation:
|
|---|
| 28 | same as above, the offending tests are the two test_javascript_quote cases
|
|---|
| 29 |
|
|---|
| 30 |
|
|---|
| 31 | ======================================================================
|
|---|
| 32 | ERROR: test_server_open (mail.tests.SMTPBackendTests)
|
|---|
| 33 | ----------------------------------------------------------------------
|
|---|
| 34 | Traceback (most recent call last):
|
|---|
| 35 | File "/django/django/tests/mail/tests.py", line 929, in test_server_open
|
|---|
| 36 | opened = backend.open()
|
|---|
| 37 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 38 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 39 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 40 | (code, msg) = self.connect(host, port)
|
|---|
| 41 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 42 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 43 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 44 | return socket.create_connection((port, host), timeout)
|
|---|
| 45 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 46 | raise err
|
|---|
| 47 | error: [Errno 111] Connection refused
|
|---|
| 48 |
|
|---|
| 49 | ======================================================================
|
|---|
| 50 | ERROR: test_send_verbose_name (mail.tests.SMTPBackendTests)
|
|---|
| 51 | ----------------------------------------------------------------------
|
|---|
| 52 | Traceback (most recent call last):
|
|---|
| 53 | File "/django/django/tests/mail/tests.py", line 492, in test_send_verbose_name
|
|---|
| 54 | email.send()
|
|---|
| 55 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 56 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 57 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 58 | new_conn_created = self.open()
|
|---|
| 59 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 60 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 61 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 62 | (code, msg) = self.connect(host, port)
|
|---|
| 63 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 64 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 65 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 66 | return socket.create_connection((port, host), timeout)
|
|---|
| 67 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 68 | raise err
|
|---|
| 69 | error: [Errno 111] Connection refused
|
|---|
| 70 |
|
|---|
| 71 | ======================================================================
|
|---|
| 72 | ERROR: test_send_unicode (mail.tests.SMTPBackendTests)
|
|---|
| 73 | ----------------------------------------------------------------------
|
|---|
| 74 | Traceback (most recent call last):
|
|---|
| 75 | File "/django/django/tests/mail/tests.py", line 473, in test_send_unicode
|
|---|
| 76 | num_sent = mail.get_connection().send_messages([email])
|
|---|
| 77 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 78 | new_conn_created = self.open()
|
|---|
| 79 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 80 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 81 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 82 | (code, msg) = self.connect(host, port)
|
|---|
| 83 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 84 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 85 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 86 | return socket.create_connection((port, host), timeout)
|
|---|
| 87 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 88 | raise err
|
|---|
| 89 | error: [Errno 111] Connection refused
|
|---|
| 90 |
|
|---|
| 91 | ======================================================================
|
|---|
| 92 | ERROR: test_send_many (mail.tests.SMTPBackendTests)
|
|---|
| 93 | ----------------------------------------------------------------------
|
|---|
| 94 | Traceback (most recent call last):
|
|---|
| 95 | File "/django/django/tests/mail/tests.py", line 482, in test_send_many
|
|---|
| 96 | num_sent = mail.get_connection().send_messages([email1, email2])
|
|---|
| 97 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 98 | new_conn_created = self.open()
|
|---|
| 99 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 100 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 101 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 102 | (code, msg) = self.connect(host, port)
|
|---|
| 103 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 104 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 105 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 106 | return socket.create_connection((port, host), timeout)
|
|---|
| 107 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 108 | raise err
|
|---|
| 109 | error: [Errno 111] Connection refused
|
|---|
| 110 |
|
|---|
| 111 | ======================================================================
|
|---|
| 112 | ERROR: test_send (mail.tests.SMTPBackendTests)
|
|---|
| 113 | ----------------------------------------------------------------------
|
|---|
| 114 | Traceback (most recent call last):
|
|---|
| 115 | File "/django/django/tests/mail/tests.py", line 463, in test_send
|
|---|
| 116 | num_sent = mail.get_connection().send_messages([email])
|
|---|
| 117 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 118 | new_conn_created = self.open()
|
|---|
| 119 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 120 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 121 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 122 | (code, msg) = self.connect(host, port)
|
|---|
| 123 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 124 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 125 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 126 | return socket.create_connection((port, host), timeout)
|
|---|
| 127 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 128 | raise err
|
|---|
| 129 | error: [Errno 111] Connection refused
|
|---|
| 130 |
|
|---|
| 131 | ======================================================================
|
|---|
| 132 | ERROR: test_recipient_without_domain (mail.tests.SMTPBackendTests)
|
|---|
| 133 | ----------------------------------------------------------------------
|
|---|
| 134 | Traceback (most recent call last):
|
|---|
| 135 | File "/django/django/tests/mail/tests.py", line 625, in test_recipient_without_domain
|
|---|
| 136 | self.assertTrue(send_mail("Subject", "Content", "tester", ["django"]))
|
|---|
| 137 | File "/django/django/django/core/mail/__init__.py", line 62, in send_mail
|
|---|
| 138 | return mail.send()
|
|---|
| 139 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 140 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 141 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 142 | new_conn_created = self.open()
|
|---|
| 143 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 144 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 145 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 146 | (code, msg) = self.connect(host, port)
|
|---|
| 147 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 148 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 149 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 150 | return socket.create_connection((port, host), timeout)
|
|---|
| 151 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 152 | raise err
|
|---|
| 153 | error: [Errno 111] Connection refused
|
|---|
| 154 |
|
|---|
| 155 | ======================================================================
|
|---|
| 156 | ERROR: test_plaintext_send_mail (mail.tests.SMTPBackendTests)
|
|---|
| 157 | ----------------------------------------------------------------------
|
|---|
| 158 | Traceback (most recent call last):
|
|---|
| 159 | File "/django/django/tests/mail/tests.py", line 503, in test_plaintext_send_mail
|
|---|
| 160 | send_mail('Subject', 'Content', 'sender@example.com', ['nobody@example.com'])
|
|---|
| 161 | File "/django/django/django/core/mail/__init__.py", line 62, in send_mail
|
|---|
| 162 | return mail.send()
|
|---|
| 163 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 164 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 165 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 166 | new_conn_created = self.open()
|
|---|
| 167 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 168 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 169 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 170 | (code, msg) = self.connect(host, port)
|
|---|
| 171 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 172 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 173 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 174 | return socket.create_connection((port, host), timeout)
|
|---|
| 175 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 176 | raise err
|
|---|
| 177 | error: [Errno 111] Connection refused
|
|---|
| 178 |
|
|---|
| 179 | ======================================================================
|
|---|
| 180 | ERROR: test_message_cc_header (mail.tests.SMTPBackendTests)
|
|---|
| 181 | ----------------------------------------------------------------------
|
|---|
| 182 | Traceback (most recent call last):
|
|---|
| 183 | File "/django/django/tests/mail/tests.py", line 589, in test_message_cc_header
|
|---|
| 184 | mail.get_connection().send_messages([email])
|
|---|
| 185 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 186 | new_conn_created = self.open()
|
|---|
| 187 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 188 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 189 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 190 | (code, msg) = self.connect(host, port)
|
|---|
| 191 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 192 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 193 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 194 | return socket.create_connection((port, host), timeout)
|
|---|
| 195 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 196 | raise err
|
|---|
| 197 | error: [Errno 111] Connection refused
|
|---|
| 198 |
|
|---|
| 199 | ======================================================================
|
|---|
| 200 | ERROR: test_manager_and_admin_mail_prefix (mail.tests.SMTPBackendTests)
|
|---|
| 201 | ----------------------------------------------------------------------
|
|---|
| 202 | Traceback (most recent call last):
|
|---|
| 203 | File "/django/django/django/test/utils.py", line 187, in inner
|
|---|
| 204 | return test_func(*args, **kwargs)
|
|---|
| 205 | File "/django/django/tests/mail/tests.py", line 564, in test_manager_and_admin_mail_prefix
|
|---|
| 206 | mail_managers(ugettext_lazy('Subject'), 'Content')
|
|---|
| 207 | File "/django/django/django/core/mail/__init__.py", line 111, in mail_managers
|
|---|
| 208 | mail.send(fail_silently=fail_silently)
|
|---|
| 209 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 210 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 211 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 212 | new_conn_created = self.open()
|
|---|
| 213 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 214 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 215 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 216 | (code, msg) = self.connect(host, port)
|
|---|
| 217 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 218 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 219 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 220 | return socket.create_connection((port, host), timeout)
|
|---|
| 221 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 222 | raise err
|
|---|
| 223 | error: [Errno 111] Connection refused
|
|---|
| 224 |
|
|---|
| 225 | ======================================================================
|
|---|
| 226 | ERROR: test_idn_send (mail.tests.SMTPBackendTests)
|
|---|
| 227 | ----------------------------------------------------------------------
|
|---|
| 228 | Traceback (most recent call last):
|
|---|
| 229 | File "/django/django/tests/mail/tests.py", line 605, in test_idn_send
|
|---|
| 230 | self.assertTrue(send_mail('Subject', 'Content', 'from@öäü.com', ['to@öäü.com']))
|
|---|
| 231 | File "/django/django/django/core/mail/__init__.py", line 62, in send_mail
|
|---|
| 232 | return mail.send()
|
|---|
| 233 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 234 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 235 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 236 | new_conn_created = self.open()
|
|---|
| 237 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 238 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 239 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 240 | (code, msg) = self.connect(host, port)
|
|---|
| 241 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 242 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 243 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 244 | return socket.create_connection((port, host), timeout)
|
|---|
| 245 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 246 | raise err
|
|---|
| 247 | error: [Errno 111] Connection refused
|
|---|
| 248 |
|
|---|
| 249 | ======================================================================
|
|---|
| 250 | ERROR: test_html_send_mail (mail.tests.SMTPBackendTests)
|
|---|
| 251 | Test html_message argument to send_mail
|
|---|
| 252 | ----------------------------------------------------------------------
|
|---|
| 253 | Traceback (most recent call last):
|
|---|
| 254 | File "/django/django/tests/mail/tests.py", line 514, in test_html_send_mail
|
|---|
| 255 | send_mail('Subject', 'Content', 'sender@example.com', ['nobody@example.com'], html_message='HTML Content')
|
|---|
| 256 | File "/django/django/django/core/mail/__init__.py", line 62, in send_mail
|
|---|
| 257 | return mail.send()
|
|---|
| 258 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 259 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 260 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 261 | new_conn_created = self.open()
|
|---|
| 262 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 263 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 264 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 265 | (code, msg) = self.connect(host, port)
|
|---|
| 266 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 267 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 268 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 269 | return socket.create_connection((port, host), timeout)
|
|---|
| 270 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 271 | raise err
|
|---|
| 272 | error: [Errno 111] Connection refused
|
|---|
| 273 |
|
|---|
| 274 | ======================================================================
|
|---|
| 275 | ERROR: test_html_mail_managers (mail.tests.SMTPBackendTests)
|
|---|
| 276 | Test html_message argument to mail_managers
|
|---|
| 277 | ----------------------------------------------------------------------
|
|---|
| 278 | Traceback (most recent call last):
|
|---|
| 279 | File "/django/django/django/test/utils.py", line 187, in inner
|
|---|
| 280 | return test_func(*args, **kwargs)
|
|---|
| 281 | File "/django/django/tests/mail/tests.py", line 529, in test_html_mail_managers
|
|---|
| 282 | mail_managers('Subject', 'Content', html_message='HTML Content')
|
|---|
| 283 | File "/django/django/django/core/mail/__init__.py", line 111, in mail_managers
|
|---|
| 284 | mail.send(fail_silently=fail_silently)
|
|---|
| 285 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 286 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 287 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 288 | new_conn_created = self.open()
|
|---|
| 289 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 290 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 291 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 292 | (code, msg) = self.connect(host, port)
|
|---|
| 293 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 294 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 295 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 296 | return socket.create_connection((port, host), timeout)
|
|---|
| 297 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 298 | raise err
|
|---|
| 299 | error: [Errno 111] Connection refused
|
|---|
| 300 |
|
|---|
| 301 | ======================================================================
|
|---|
| 302 | ERROR: test_html_mail_admins (mail.tests.SMTPBackendTests)
|
|---|
| 303 | Test html_message argument to mail_admins
|
|---|
| 304 | ----------------------------------------------------------------------
|
|---|
| 305 | Traceback (most recent call last):
|
|---|
| 306 | File "/django/django/django/test/utils.py", line 187, in inner
|
|---|
| 307 | return test_func(*args, **kwargs)
|
|---|
| 308 | File "/django/django/tests/mail/tests.py", line 544, in test_html_mail_admins
|
|---|
| 309 | mail_admins('Subject', 'Content', html_message='HTML Content')
|
|---|
| 310 | File "/django/django/django/core/mail/__init__.py", line 98, in mail_admins
|
|---|
| 311 | mail.send(fail_silently=fail_silently)
|
|---|
| 312 | File "/django/django/django/core/mail/message.py", line 286, in send
|
|---|
| 313 | return self.get_connection(fail_silently).send_messages([self])
|
|---|
| 314 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 315 | new_conn_created = self.open()
|
|---|
| 316 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 317 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 318 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 319 | (code, msg) = self.connect(host, port)
|
|---|
| 320 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 321 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 322 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 323 | return socket.create_connection((port, host), timeout)
|
|---|
| 324 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 325 | raise err
|
|---|
| 326 | error: [Errno 111] Connection refused
|
|---|
| 327 |
|
|---|
| 328 | ======================================================================
|
|---|
| 329 | ERROR: test_email_tls_attempts_starttls (mail.tests.SMTPBackendTests)
|
|---|
| 330 | ----------------------------------------------------------------------
|
|---|
| 331 | Traceback (most recent call last):
|
|---|
| 332 | File "/django/django/django/test/utils.py", line 187, in inner
|
|---|
| 333 | return test_func(*args, **kwargs)
|
|---|
| 334 | File "/django/django/tests/mail/tests.py", line 1008, in test_email_tls_attempts_starttls
|
|---|
| 335 | 'STARTTLS extension not supported by server.', backend.open)
|
|---|
| 336 | File "/django/django/django/test/testcases.py", line 577, in assertRaisesMessage
|
|---|
| 337 | re.escape(expected_message), callable_obj, *args, **kwargs)
|
|---|
| 338 | File "/django/django/django/utils/six.py", line 792, in assertRaisesRegex
|
|---|
| 339 | return getattr(self, _assertRaisesRegex)(*args, **kwargs)
|
|---|
| 340 | File "/usr/lib/python2.7/unittest/case.py", line 989, in assertRaisesRegexp
|
|---|
| 341 | callable_obj(*args, **kwargs)
|
|---|
| 342 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 343 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 344 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 345 | (code, msg) = self.connect(host, port)
|
|---|
| 346 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 347 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 348 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 349 | return socket.create_connection((port, host), timeout)
|
|---|
| 350 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 351 | raise err
|
|---|
| 352 | error: [Errno 111] Connection refused
|
|---|
| 353 |
|
|---|
| 354 | ======================================================================
|
|---|
| 355 | ERROR: test_email_ssl_attempts_ssl_connection (mail.tests.SMTPBackendTests)
|
|---|
| 356 | ----------------------------------------------------------------------
|
|---|
| 357 | Traceback (most recent call last):
|
|---|
| 358 | File "/django/django/django/test/utils.py", line 187, in inner
|
|---|
| 359 | return test_func(*args, **kwargs)
|
|---|
| 360 | File "/django/django/tests/mail/tests.py", line 1017, in test_email_ssl_attempts_ssl_connection
|
|---|
| 361 | self.assertRaises(SSLError, backend.open)
|
|---|
| 362 | File "/usr/lib/python2.7/unittest/case.py", line 471, in assertRaises
|
|---|
| 363 | callableObj(*args, **kwargs)
|
|---|
| 364 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 365 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 366 | File "/usr/lib/python2.7/smtplib.py", line 776, in __init__
|
|---|
| 367 | SMTP.__init__(self, host, port, local_hostname, timeout)
|
|---|
| 368 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 369 | (code, msg) = self.connect(host, port)
|
|---|
| 370 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 371 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 372 | File "/usr/lib/python2.7/smtplib.py", line 781, in _get_socket
|
|---|
| 373 | new_socket = socket.create_connection((host, port), timeout)
|
|---|
| 374 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 375 | raise err
|
|---|
| 376 | error: [Errno 111] Connection refused
|
|---|
| 377 |
|
|---|
| 378 | ======================================================================
|
|---|
| 379 | ERROR: test_email_msg_uses_crlf (mail.tests.SMTPBackendTests)
|
|---|
| 380 | #23063 -- Test that RFC-compliant messages are sent over SMTP.
|
|---|
| 381 | ----------------------------------------------------------------------
|
|---|
| 382 | Traceback (most recent call last):
|
|---|
| 383 | File "/django/django/tests/mail/tests.py", line 1057, in test_email_msg_uses_crlf
|
|---|
| 384 | mail.get_connection().send_messages([email])
|
|---|
| 385 | File "/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages
|
|---|
| 386 | new_conn_created = self.open()
|
|---|
| 387 | File "/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_connection_timeout_custom (mail.tests.SMTPBackendTests)
|
|---|
| 401 | Test that the timeout parameter can be customized.
|
|---|
| 402 | ----------------------------------------------------------------------
|
|---|
| 403 | Traceback (most recent call last):
|
|---|
| 404 | File "/django/django/tests/mail/tests.py", line 1034, in test_connection_timeout_custom
|
|---|
| 405 | myemailbackend.open()
|
|---|
| 406 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 407 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 408 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 409 | (code, msg) = self.connect(host, port)
|
|---|
| 410 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 411 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 412 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 413 | return socket.create_connection((port, host), timeout)
|
|---|
| 414 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 415 | raise err
|
|---|
| 416 | error: [Errno 111] Connection refused
|
|---|
| 417 |
|
|---|
| 418 | ======================================================================
|
|---|
| 419 | ERROR: test_auth_attempted (mail.tests.SMTPBackendTests)
|
|---|
| 420 | ----------------------------------------------------------------------
|
|---|
| 421 | Traceback (most recent call last):
|
|---|
| 422 | File "/django/django/tests/mail/tests.py", line 919, in test_auth_attempted
|
|---|
| 423 | 'SMTP AUTH extension not supported by server.', backend.open)
|
|---|
| 424 | File "/django/django/django/test/testcases.py", line 577, in assertRaisesMessage
|
|---|
| 425 | re.escape(expected_message), callable_obj, *args, **kwargs)
|
|---|
| 426 | File "/django/django/django/utils/six.py", line 792, in assertRaisesRegex
|
|---|
| 427 | return getattr(self, _assertRaisesRegex)(*args, **kwargs)
|
|---|
| 428 | File "/usr/lib/python2.7/unittest/case.py", line 989, in assertRaisesRegexp
|
|---|
| 429 | callable_obj(*args, **kwargs)
|
|---|
| 430 | File "/django/django/django/core/mail/backends/smtp.py", line 58, in open
|
|---|
| 431 | self.connection = connection_class(self.host, self.port, **connection_params)
|
|---|
| 432 | File "/usr/lib/python2.7/smtplib.py", line 249, in __init__
|
|---|
| 433 | (code, msg) = self.connect(host, port)
|
|---|
| 434 | File "/usr/lib/python2.7/smtplib.py", line 309, in connect
|
|---|
| 435 | self.sock = self._get_socket(host, port, self.timeout)
|
|---|
| 436 | File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket
|
|---|
| 437 | return socket.create_connection((port, host), timeout)
|
|---|
| 438 | File "/usr/lib/python2.7/socket.py", line 571, in create_connection
|
|---|
| 439 | raise err
|
|---|
| 440 | error: [Errno 111] Connection refused
|
|---|
| 441 |
|
|---|
| 442 | ======================================================================
|
|---|
| 443 | FAIL: test_group_permission_performance (admin_views.tests.GroupAdminTest)
|
|---|
| 444 | ----------------------------------------------------------------------
|
|---|
| 445 | Traceback (most recent call last):
|
|---|
| 446 | File "/django/django/tests/admin_views/tests.py", line 4209, in test_group_permission_performance
|
|---|
| 447 | self.assertEqual(response.status_code, 200)
|
|---|
| 448 | File "/django/django/django/test/testcases.py", line 87, in __exit__
|
|---|
| 449 | query['sql'] for query in self.captured_queries
|
|---|
| 450 | AssertionError: 7 queries executed, 8 expected
|
|---|
| 451 | Captured queries were:
|
|---|
| 452 | 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'edu8mqxbfhw51v4dv03zw01zxnsmz62v', u'2014-11-22 11:39:08.324878')
|
|---|
| 453 | 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,)
|
|---|
| 454 | QUERY = u'SAVEPOINT "s139739471804160_x755"' - PARAMS = ()
|
|---|
| 455 | QUERY = u'SELECT "auth_group"."id", "auth_group"."name" FROM "auth_group" WHERE "auth_group"."id" = %s LIMIT 21' - PARAMS = (1,)
|
|---|
| 456 | 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 = (1,)
|
|---|
| 457 | QUERY = u'RELEASE SAVEPOINT "s139739471804160_x755"' - PARAMS = ()
|
|---|
| 458 | 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 = ()
|
|---|
| 459 |
|
|---|
| 460 | ======================================================================
|
|---|
| 461 | FAIL: test_has_delete_permission (modeladmin.tests.ModelAdminPermissionTests)
|
|---|
| 462 | ----------------------------------------------------------------------
|
|---|
| 463 | Traceback (most recent call last):
|
|---|
| 464 | File "/django/django/tests/modeladmin/tests.py", line 1613, in test_has_delete_permission
|
|---|
| 465 | self.assertTrue(ma.has_delete_permission(request))
|
|---|
| 466 | AssertionError: False is not true
|
|---|
| 467 |
|
|---|
| 468 | ======================================================================
|
|---|
| 469 | FAIL: test_has_change_permission (modeladmin.tests.ModelAdminPermissionTests)
|
|---|
| 470 | ----------------------------------------------------------------------
|
|---|
| 471 | Traceback (most recent call last):
|
|---|
| 472 | File "/django/django/tests/modeladmin/tests.py", line 1597, in test_has_change_permission
|
|---|
| 473 | self.assertTrue(ma.has_change_permission(request))
|
|---|
| 474 | AssertionError: False is not true
|
|---|
| 475 |
|
|---|
| 476 | ======================================================================
|
|---|
| 477 | FAIL: test_has_add_permission (modeladmin.tests.ModelAdminPermissionTests)
|
|---|
| 478 | ----------------------------------------------------------------------
|
|---|
| 479 | Traceback (most recent call last):
|
|---|
| 480 | File "/django/django/tests/modeladmin/tests.py", line 1581, in test_has_add_permission
|
|---|
| 481 | self.assertTrue(ma.has_add_permission(request))
|
|---|
| 482 | AssertionError: False is not true
|
|---|
| 483 |
|
|---|
| 484 | ======================================================================
|
|---|
| 485 | FAIL: test_unique_together (model_forms.tests.UniqueTest)
|
|---|
| 486 | ModelForm test of unique_together constraint
|
|---|
| 487 | ----------------------------------------------------------------------
|
|---|
| 488 | Traceback (most recent call last):
|
|---|
| 489 | File "/django/django/tests/model_forms/tests.py", line 660, in test_unique_together
|
|---|
| 490 | self.assertEqual(form.errors['__all__'], ['Price with this Price and Quantity already exists.'])
|
|---|
| 491 | AssertionError: [u'Price with this Price ja Quantity already exists.'] != [u'Price with this Price and Quantity already exists.']
|
|---|
| 492 |
|
|---|
| 493 | ======================================================================
|
|---|
| 494 | FAIL: test_unique_null (model_forms.tests.UniqueTest)
|
|---|
| 495 | ----------------------------------------------------------------------
|
|---|
| 496 | Traceback (most recent call last):
|
|---|
| 497 | File "/django/django/django/test/testcases.py", line 959, in skip_wrapper
|
|---|
| 498 | return test_func(*args, **kwargs)
|
|---|
| 499 | File "/django/django/tests/model_forms/tests.py", line 691, in test_unique_null
|
|---|
| 500 | self.assertEqual(form.errors['__all__'], ['Book with this Title and Author already exists.'])
|
|---|
| 501 | AssertionError: [u'Book with this Title ja Author already exists.'] != [u'Book with this Title and Author already exists.']
|
|---|
| 502 |
|
|---|
| 503 | ======================================================================
|
|---|
| 504 | FAIL: test_unique_for_date (model_forms.tests.UniqueTest)
|
|---|
| 505 | ----------------------------------------------------------------------
|
|---|
| 506 | Traceback (most recent call last):
|
|---|
| 507 | File "/django/django/tests/model_forms/tests.py", line 782, in test_unique_for_date
|
|---|
| 508 | self.assertEqual(form.errors['posted'], ['This field is required.'])
|
|---|
| 509 | AssertionError: [u'T\xe4m\xe4 kentt\xe4 vaaditaan.'] != [u'This field is required.']
|
|---|
| 510 |
|
|---|
| 511 | ======================================================================
|
|---|
| 512 | FAIL: test_simple_unique (model_forms.tests.UniqueTest)
|
|---|
| 513 | ----------------------------------------------------------------------
|
|---|
| 514 | Traceback (most recent call last):
|
|---|
| 515 | File "/django/django/tests/model_forms/tests.py", line 648, in test_simple_unique
|
|---|
| 516 | self.assertEqual(form.errors['slug'], ['Product with this Slug already exists.'])
|
|---|
| 517 | AssertionError: [u'Product jolla on t\xe4m\xe4 Slug, on jo olemassa.'] != [u'Product with this Slug already exists.']
|
|---|
| 518 |
|
|---|
| 519 | ======================================================================
|
|---|
| 520 | FAIL: test_override_unique_together_message (model_forms.tests.UniqueTest)
|
|---|
| 521 | ----------------------------------------------------------------------
|
|---|
| 522 | Traceback (most recent call last):
|
|---|
| 523 | File "/django/django/tests/model_forms/tests.py", line 875, in test_override_unique_together_message
|
|---|
| 524 | self.assertEqual(form.errors[NON_FIELD_ERRORS], ["Price's Price and Quantity not unique."])
|
|---|
| 525 | AssertionError: [u"Price's Price ja Quantity not unique."] != [u"Price's Price and Quantity not unique."]
|
|---|
| 526 |
|
|---|
| 527 | ======================================================================
|
|---|
| 528 | FAIL: test_inherited_unique_together (model_forms.tests.UniqueTest)
|
|---|
| 529 | ----------------------------------------------------------------------
|
|---|
| 530 | Traceback (most recent call last):
|
|---|
| 531 | File "/django/django/tests/model_forms/tests.py", line 714, in test_inherited_unique_together
|
|---|
| 532 | self.assertEqual(form.errors['__all__'], ['Book with this Title and Author already exists.'])
|
|---|
| 533 | AssertionError: [u'Book with this Title ja Author already exists.'] != [u'Book with this Title and Author already exists.']
|
|---|
| 534 |
|
|---|
| 535 | ======================================================================
|
|---|
| 536 | FAIL: test_inherited_unique (model_forms.tests.UniqueTest)
|
|---|
| 537 | ----------------------------------------------------------------------
|
|---|
| 538 | Traceback (most recent call last):
|
|---|
| 539 | File "/django/django/tests/model_forms/tests.py", line 704, in test_inherited_unique
|
|---|
| 540 | self.assertEqual(form.errors['special_id'], ['Book with this Special id already exists.'])
|
|---|
| 541 | AssertionError: [u'Book jolla on t\xe4m\xe4 Special id, on jo olemassa.'] != [u'Book with this Special id already exists.']
|
|---|
| 542 |
|
|---|
| 543 | ======================================================================
|
|---|
| 544 | FAIL: test_explicitpk_unique (model_forms.tests.UniqueTest)
|
|---|
| 545 | Ensure keys and blank character strings are tested for uniqueness.
|
|---|
| 546 | ----------------------------------------------------------------------
|
|---|
| 547 | Traceback (most recent call last):
|
|---|
| 548 | File "/django/django/tests/model_forms/tests.py", line 754, in test_explicitpk_unique
|
|---|
| 549 | self.assertEqual(form.errors['__all__'], ['Explicit pk with this Key and Desc already exists.'])
|
|---|
| 550 | AssertionError: [u'Explicit pk with this Key ja Desc already exists.'] != [u'Explicit pk with this Key and Desc already exists.']
|
|---|
| 551 |
|
|---|
| 552 | ======================================================================
|
|---|
| 553 | FAIL: test_abstract_inherited_unique_together (model_forms.tests.UniqueTest)
|
|---|
| 554 | ----------------------------------------------------------------------
|
|---|
| 555 | Traceback (most recent call last):
|
|---|
| 556 | File "/django/django/tests/model_forms/tests.py", line 739, in test_abstract_inherited_unique_together
|
|---|
| 557 | ['Derived book with this Suffix1 and Suffix2 already exists.'])
|
|---|
| 558 | AssertionError: [u'Derived book with this Suffix1 ja Suffix2 already exists.'] != [u'Derived book with this Suffix1 and Suffix2 already exists.']
|
|---|
| 559 |
|
|---|
| 560 | ======================================================================
|
|---|
| 561 | FAIL: test_abstract_inherited_unique (model_forms.tests.UniqueTest)
|
|---|
| 562 | ----------------------------------------------------------------------
|
|---|
| 563 | Traceback (most recent call last):
|
|---|
| 564 | File "/django/django/tests/model_forms/tests.py", line 723, in test_abstract_inherited_unique
|
|---|
| 565 | self.assertEqual(form.errors['isbn'], ['Derived book with this Isbn already exists.'])
|
|---|
| 566 | AssertionError: [u'Derived book jolla on t\xe4m\xe4 Isbn, on jo olemassa.'] != [u'Derived book with this Isbn already exists.']
|
|---|
| 567 |
|
|---|
| 568 | ======================================================================
|
|---|
| 569 | FAIL: test_comma_separated_integer_field (model_forms.tests.ModelOtherFieldTests)
|
|---|
| 570 | ----------------------------------------------------------------------
|
|---|
| 571 | Traceback (most recent call last):
|
|---|
| 572 | File "/django/django/tests/model_forms/tests.py", line 2107, in test_comma_separated_integer_field
|
|---|
| 573 | self.assertEqual(f.errors, {'field': ['Enter only digits separated by commas.']})
|
|---|
| 574 | AssertionError: {'field': [u'Vain pilkulla erotetut kokonaisluvut kelpaavat t\xe4ss\xe4.']} != {u'field': [u'Enter only digits separated by commas.']}
|
|---|
| 575 |
|
|---|
| 576 | ======================================================================
|
|---|
| 577 | FAIL: test_big_integer_field (model_forms.tests.ModelOtherFieldTests)
|
|---|
| 578 | ----------------------------------------------------------------------
|
|---|
| 579 | Traceback (most recent call last):
|
|---|
| 580 | File "/django/django/tests/model_forms/tests.py", line 2090, in test_big_integer_field
|
|---|
| 581 | self.assertEqual(bif.errors, {'biggie': ['Ensure this value is greater than or equal to -9223372036854775808.']})
|
|---|
| 582 | AssertionError: {'biggie': [u'T\xe4m\xe4n luvun on oltava v\xe4hint\xe4\xe4n -9223372036854775808.']} != {u'biggie': [u'Ensure this value is greater than or equal to -9223372036854775808.']}
|
|---|
| 583 |
|
|---|
| 584 | ======================================================================
|
|---|
| 585 | FAIL: test_save_with_data_errors (model_forms.tests.ModelFormBasicTests)
|
|---|
| 586 | ----------------------------------------------------------------------
|
|---|
| 587 | Traceback (most recent call last):
|
|---|
| 588 | File "/django/django/tests/model_forms/tests.py", line 1141, in test_save_with_data_errors
|
|---|
| 589 | self.assertEqual(f.errors['name'], ['This field is required.'])
|
|---|
| 590 | AssertionError: [u'T\xe4m\xe4 kentt\xe4 vaaditaan.'] != [u'This field is required.']
|
|---|
| 591 |
|
|---|
| 592 | ======================================================================
|
|---|
| 593 | FAIL: test_clear_and_file_contradiction (model_forms.tests.FileAndImageFieldTests)
|
|---|
| 594 | ----------------------------------------------------------------------
|
|---|
| 595 | Traceback (most recent call last):
|
|---|
| 596 | File "/django/django/tests/model_forms/tests.py", line 1798, in test_clear_and_file_contradiction
|
|---|
| 597 | ['Please either submit a file or check the clear checkbox, not both.'])
|
|---|
| 598 | AssertionError: [u'Voit joko l\xe4hett\xe4\xe4 tai poistaa tiedoston, muttei kumpaakin samalla.'] != [u'Please either submit a file or check the clear checkbox, not both.']
|
|---|
| 599 |
|
|---|
| 600 | ======================================================================
|
|---|
| 601 | FAIL: test_incomplete_data_form_with_template (test_client.tests.ClientTest)
|
|---|
| 602 | POST incomplete data to a form using multiple templates
|
|---|
| 603 | ----------------------------------------------------------------------
|
|---|
| 604 | Traceback (most recent call last):
|
|---|
| 605 | File "/django/django/tests/test_client/tests.py", line 305, in test_incomplete_data_form_with_template
|
|---|
| 606 | self.assertFormError(response, 'form', 'email', 'This field is required.')
|
|---|
| 607 | File "/django/django/django/test/testcases.py", line 399, in assertFormError
|
|---|
| 608 | (field, form, i, err, repr(field_errors)))
|
|---|
| 609 | AssertionError: The field 'email' on form 'form' in context 0 does not contain the error 'This field is required.' (actual errors: [u'T\xe4m\xe4 kentt\xe4 vaaditaan.'])
|
|---|
| 610 |
|
|---|
| 611 | ======================================================================
|
|---|
| 612 | FAIL: test_incomplete_data_form (test_client.tests.ClientTest)
|
|---|
| 613 | POST incomplete data to a form
|
|---|
| 614 | ----------------------------------------------------------------------
|
|---|
| 615 | Traceback (most recent call last):
|
|---|
| 616 | File "/django/django/tests/test_client/tests.py", line 255, in test_incomplete_data_form
|
|---|
| 617 | self.assertContains(response, 'This field is required.', 3)
|
|---|
| 618 | File "/django/django/django/test/testcases.py", line 350, in assertContains
|
|---|
| 619 | " (expected %d)" % (real_count, text_repr, count))
|
|---|
| 620 | AssertionError: Found 0 instances of 'This field is required.' in response (expected 3)
|
|---|
| 621 |
|
|---|
| 622 | ======================================================================
|
|---|
| 623 | FAIL: test_template_tag_denorm (staticfiles_tests.tests.TestCollectionCachedStorage)
|
|---|
| 624 | ----------------------------------------------------------------------
|
|---|
| 625 | Traceback (most recent call last):
|
|---|
| 626 | File "/django/django/tests/staticfiles_tests/tests.py", line 524, in test_template_tag_denorm
|
|---|
| 627 | self.assertIn(b'url("img/relative.acae32e4532b.png', content)
|
|---|
| 628 | AssertionError: 'url("img/relative.acae32e4532b.png' not found in '@import url("../cached/styles.bb84a0240107.css");\nbody {\n background: #d3d6d8 url("img/relative.deploy12345.png");\n}\n'
|
|---|
| 629 |
|
|---|
| 630 | ======================================================================
|
|---|
| 631 | FAIL: test_get_cache_key (cache.tests.PrefixedCacheUtils)
|
|---|
| 632 | ----------------------------------------------------------------------
|
|---|
| 633 | Traceback (most recent call last):
|
|---|
| 634 | File "/django/django/tests/cache/tests.py", line 1387, in test_get_cache_key
|
|---|
| 635 | self.assertIsNone(get_cache_key(request))
|
|---|
| 636 | AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None
|
|---|
| 637 |
|
|---|
| 638 | ======================================================================
|
|---|
| 639 | FAIL: test_close (cache.tests.GetCacheTests)
|
|---|
| 640 | ----------------------------------------------------------------------
|
|---|
| 641 | Traceback (most recent call last):
|
|---|
| 642 | File "/django/django/tests/cache/tests.py", line 1244, in test_close
|
|---|
| 643 | self.assertFalse(cache.closed)
|
|---|
| 644 | AssertionError: True is not false
|
|---|
| 645 |
|
|---|
| 646 | ======================================================================
|
|---|
| 647 | FAIL: test_get_cache_key (cache.tests.CacheUtils)
|
|---|
| 648 | ----------------------------------------------------------------------
|
|---|
| 649 | Traceback (most recent call last):
|
|---|
| 650 | File "/django/django/tests/cache/tests.py", line 1387, in test_get_cache_key
|
|---|
| 651 | self.assertIsNone(get_cache_key(request))
|
|---|
| 652 | AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None
|
|---|
| 653 |
|
|---|
| 654 | ======================================================================
|
|---|
| 655 | FAIL: test_class_definition_warnings (deprecation.tests.RenameMethodsTests)
|
|---|
| 656 | ----------------------------------------------------------------------
|
|---|
| 657 | Traceback (most recent call last):
|
|---|
| 658 | File "/django/django/tests/deprecation/tests.py", line 37, in test_class_definition_warnings
|
|---|
| 659 | self.assertEqual(len(recorded), 1)
|
|---|
| 660 | AssertionError: 0 != 1
|
|---|
| 661 |
|
|---|
| 662 | ======================================================================
|
|---|
| 663 | FAIL: test_deprecation (utils_tests.test_text.TestUtilsText)
|
|---|
| 664 | ----------------------------------------------------------------------
|
|---|
| 665 | Traceback (most recent call last):
|
|---|
| 666 | File "/django/django/tests/utils_tests/test_text.py", line 225, in test_deprecation
|
|---|
| 667 | self.assertEqual(len(w), 1)
|
|---|
| 668 | AssertionError: 0 != 1
|
|---|
| 669 |
|
|---|
| 670 | ----------------------------------------------------------------------
|
|---|
| 671 | Ran 7631 tests in 236.712s
|
|---|
| 672 |
|
|---|
| 673 | FAILED (failures=26, errors=18, skipped=523, expected failures=8)
|
|---|