====================================================================== ERROR: test_inline_change_m2m_noperm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_m2m_change_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_m2m_add_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_fk_noperm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_fk_change_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_fk_change_del_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_fk_all_perms (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_fk_add_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_change_fk_add_change_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_add_m2m_noperm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_add_m2m_add_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_add_fk_noperm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_inline_add_fk_add_perm (admin_inlines.tests.TestInlinePermissions) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_inlines/tests.py", line 491, in setUp permission = Permission.objects.get(codename='add_author', content_type=self.author_ct) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_datefieldlistfilter_with_time_zone_support (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/django/test/utils.py", line 275, in inner return test_func(*args, **kwargs) File "/a/django/django/tests/admin_filters/tests.py", line 355, in test_datefieldlistfilter_with_time_zone_support self.test_datefieldlistfilter() File "/a/django/django/tests/admin_filters/tests.py", line 269, in test_datefieldlistfilter choice = select_by(filterspec.choices(changelist), "display", "Today") File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by return [x for x in dictlist if x[key] == value][0] IndexError: list index out of range ====================================================================== ERROR: test_datefieldlistfilter (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 269, in test_datefieldlistfilter choice = select_by(filterspec.choices(changelist), "display", "Today") File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by return [x for x in dictlist if x[key] == value][0] IndexError: list index out of range ====================================================================== ERROR: test_booleanfieldlistfilter_tuple (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 570, in test_booleanfieldlistfilter_tuple self.verify_booleanfieldlistfilter(modeladmin) File "/a/django/django/tests/admin_filters/tests.py", line 586, in verify_booleanfieldlistfilter choice = select_by(filterspec.choices(changelist), "display", "No") File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by return [x for x in dictlist if x[key] == value][0] IndexError: list index out of range ====================================================================== ERROR: test_booleanfieldlistfilter (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 566, in test_booleanfieldlistfilter self.verify_booleanfieldlistfilter(modeladmin) File "/a/django/django/tests/admin_filters/tests.py", line 586, in verify_booleanfieldlistfilter choice = select_by(filterspec.choices(changelist), "display", "No") File "/a/django/django/tests/admin_filters/tests.py", line 19, in select_by return [x for x in dictlist if x[key] == value][0] IndexError: list index out of range ====================================================================== ERROR: test_server_open (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 927, in test_server_open opened = backend.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_send_verbose_name (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 492, in test_send_verbose_name email.send() File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_send_unicode (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 473, in test_send_unicode num_sent = mail.get_connection().send_messages([email]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_send_many (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 482, in test_send_many num_sent = mail.get_connection().send_messages([email1, email2]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_send (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 463, in test_send num_sent = mail.get_connection().send_messages([email]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_recipient_without_domain (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 625, in test_recipient_without_domain self.assertTrue(send_mail("Subject", "Content", "tester", ["django"])) File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail return mail.send() File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_plaintext_send_mail (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 503, in test_plaintext_send_mail send_mail('Subject', 'Content', 'sender@example.com', ['nobody@example.com']) File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail return mail.send() File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_message_cc_header (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 589, in test_message_cc_header mail.get_connection().send_messages([email]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_manager_and_admin_mail_prefix (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/django/test/utils.py", line 275, in inner return test_func(*args, **kwargs) File "/a/django/django/tests/mail/tests.py", line 564, in test_manager_and_admin_mail_prefix mail_managers(ugettext_lazy('Subject'), 'Content') File "/a/django/django/django/core/mail/__init__.py", line 111, in mail_managers mail.send(fail_silently=fail_silently) File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_idn_send (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 605, in test_idn_send self.assertTrue(send_mail('Subject', 'Content', 'from@öäü.com', ['to@öäü.com'])) File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail return mail.send() File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_html_send_mail (mail.tests.SMTPBackendTests) Test html_message argument to send_mail ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 514, in test_html_send_mail send_mail('Subject', 'Content', 'sender@example.com', ['nobody@example.com'], html_message='HTML Content') File "/a/django/django/django/core/mail/__init__.py", line 62, in send_mail return mail.send() File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_html_mail_managers (mail.tests.SMTPBackendTests) Test html_message argument to mail_managers ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/django/test/utils.py", line 275, in inner return test_func(*args, **kwargs) File "/a/django/django/tests/mail/tests.py", line 529, in test_html_mail_managers mail_managers('Subject', 'Content', html_message='HTML Content') File "/a/django/django/django/core/mail/__init__.py", line 111, in mail_managers mail.send(fail_silently=fail_silently) File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_html_mail_admins (mail.tests.SMTPBackendTests) Test html_message argument to mail_admins ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/django/test/utils.py", line 275, in inner return test_func(*args, **kwargs) File "/a/django/django/tests/mail/tests.py", line 544, in test_html_mail_admins mail_admins('Subject', 'Content', html_message='HTML Content') File "/a/django/django/django/core/mail/__init__.py", line 98, in mail_admins mail.send(fail_silently=fail_silently) File "/a/django/django/django/core/mail/message.py", line 286, in send return self.get_connection(fail_silently).send_messages([self]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_email_tls_attempts_starttls (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/django/test/utils.py", line 275, in inner return test_func(*args, **kwargs) File "/a/django/django/tests/mail/tests.py", line 1006, in test_email_tls_attempts_starttls 'STARTTLS extension not supported by server.', backend.open) File "/a/django/django/django/test/testcases.py", line 580, in assertRaisesMessage re.escape(expected_message), callable_obj, *args, **kwargs) File "/a/django/django/django/utils/six.py", line 690, in assertRaisesRegex return getattr(self, _assertRaisesRegex)(*args, **kwargs) File "/usr/lib/python2.7/unittest/case.py", line 989, in assertRaisesRegexp callable_obj(*args, **kwargs) File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_email_ssl_attempts_ssl_connection (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/django/test/utils.py", line 275, in inner return test_func(*args, **kwargs) File "/a/django/django/tests/mail/tests.py", line 1015, in test_email_ssl_attempts_ssl_connection self.assertRaises(SSLError, backend.open) File "/usr/lib/python2.7/unittest/case.py", line 471, in assertRaises callableObj(*args, **kwargs) File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 776, in __init__ SMTP.__init__(self, host, port, local_hostname, timeout) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 781, in _get_socket new_socket = socket.create_connection((host, port), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_email_msg_uses_crlf (mail.tests.SMTPBackendTests) #23063 -- Test that RFC-compliant messages are sent over SMTP. ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 1055, in test_email_msg_uses_crlf mail.get_connection().send_messages([email]) File "/a/django/django/django/core/mail/backends/smtp.py", line 100, in send_messages new_conn_created = self.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_connection_timeout_custom (mail.tests.SMTPBackendTests) Test that the timeout parameter can be customized. ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 1032, in test_connection_timeout_custom myemailbackend.open() File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_auth_attempted (mail.tests.SMTPBackendTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/mail/tests.py", line 917, in test_auth_attempted 'SMTP AUTH extension not supported by server.', backend.open) File "/a/django/django/django/test/testcases.py", line 580, in assertRaisesMessage re.escape(expected_message), callable_obj, *args, **kwargs) File "/a/django/django/django/utils/six.py", line 690, in assertRaisesRegex return getattr(self, _assertRaisesRegex)(*args, **kwargs) File "/usr/lib/python2.7/unittest/case.py", line 989, in assertRaisesRegexp callable_obj(*args, **kwargs) File "/a/django/django/django/core/mail/backends/smtp.py", line 58, in open self.connection = connection_class(self.host, self.port, **connection_params) File "/usr/lib/python2.7/smtplib.py", line 249, in __init__ (code, msg) = self.connect(host, port) File "/usr/lib/python2.7/smtplib.py", line 309, in connect self.sock = self._get_socket(host, port, self.timeout) File "/usr/lib/python2.7/smtplib.py", line 284, in _get_socket return socket.create_connection((port, host), timeout) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err error: [Errno 111] Connection refused ====================================================================== ERROR: test_output_formats (fixtures.tests.FixtureLoadingTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/fixtures/tests.py", line 374, in test_output_formats management.call_command('loaddata', 'fixture6', verbosity=0) File "/a/django/django/django/core/management/__init__.py", line 120, in call_command return command.execute(*args, **defaults) File "/a/django/django/django/core/management/base.py", line 442, in execute output = self.handle(*args, **options) File "/a/django/django/django/core/management/commands/loaddata.py", line 58, in handle self.loaddata(fixture_labels) File "/a/django/django/django/core/management/commands/loaddata.py", line 88, in loaddata self.load_label(fixture_label) File "/a/django/django/django/core/management/commands/loaddata.py", line 139, in load_label for obj in objects: File "/a/django/django/django/core/serializers/json.py", line 81, in Deserializer six.reraise(DeserializationError, DeserializationError(e), sys.exc_info()[2]) File "/a/django/django/django/core/serializers/json.py", line 75, in Deserializer for obj in PythonDeserializer(objects, **options): File "/a/django/django/django/core/serializers/python.py", line 137, in Deserializer obj = field.rel.to._default_manager.db_manager(db).get_by_natural_key(*field_value) File "/a/django/django/django/contrib/contenttypes/models.py", line 21, in get_by_natural_key ct = self.get(app_label=app_label, model=model) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DeserializationError: Problem installing fixture '/a/django/django/tests/fixtures/fixtures/fixture6.json': ContentType matching query does not exist. ====================================================================== ERROR: test_loading_and_dumping (fixtures.tests.FixtureLoadingTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/fixtures/tests.py", line 133, in test_loading_and_dumping management.call_command('loaddata', 'fixture6.json', verbosity=0) File "/a/django/django/django/core/management/__init__.py", line 120, in call_command return command.execute(*args, **defaults) File "/a/django/django/django/core/management/base.py", line 442, in execute output = self.handle(*args, **options) File "/a/django/django/django/core/management/commands/loaddata.py", line 58, in handle self.loaddata(fixture_labels) File "/a/django/django/django/core/management/commands/loaddata.py", line 88, in loaddata self.load_label(fixture_label) File "/a/django/django/django/core/management/commands/loaddata.py", line 139, in load_label for obj in objects: File "/a/django/django/django/core/serializers/json.py", line 81, in Deserializer six.reraise(DeserializationError, DeserializationError(e), sys.exc_info()[2]) File "/a/django/django/django/core/serializers/json.py", line 75, in Deserializer for obj in PythonDeserializer(objects, **options): File "/a/django/django/django/core/serializers/python.py", line 137, in Deserializer obj = field.rel.to._default_manager.db_manager(db).get_by_natural_key(*field_value) File "/a/django/django/django/contrib/contenttypes/models.py", line 21, in get_by_natural_key ct = self.get(app_label=app_label, model=model) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DeserializationError: Problem installing fixture '/a/django/django/tests/fixtures/fixtures/fixture6.json': ContentType matching query does not exist. ====================================================================== ERROR: test_generic_relation (generic_relations.tests.ProxyRelatedModelTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 553, in test_generic_relation rel = ProxyRelatedModel.objects.get(pk=base.obj.pk) AttributeError: 'NoneType' object has no attribute 'pk' ====================================================================== ERROR: test_index (admin_docs.tests.AdminDocViewTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_docs/tests.py", line 50, in test_index response = self.client.get(reverse('django-admindocs-docroot'), follow=True) File "/a/django/django/django/test/client.py", line 486, in get response = self._handle_redirects(response, **extra) File "/a/django/django/django/test/client.py", line 645, in _handle_redirects response = self.get(url.path, QueryDict(url.query), follow=False, **extra) File "/a/django/django/django/test/client.py", line 484, in get **extra) File "/a/django/django/django/test/client.py", line 287, in get return self.generic('GET', path, secure=secure, **r) File "/a/django/django/django/test/client.py", line 363, in generic return self.request(**r) File "/a/django/django/django/test/client.py", line 450, in request six.reraise(*exc_info) File "/a/django/django/django/core/handlers/base.py", line 125, in get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/a/django/django/django/views/decorators/cache.py", line 54, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/a/django/django/django/contrib/admin/sites.py", line 372, in login return login(request, **defaults) File "/a/django/django/django/views/decorators/debug.py", line 76, in sensitive_post_parameters_wrapper return view(request, *args, **kwargs) File "/a/django/django/django/utils/decorators.py", line 110, in _wrapped_view response = view_func(request, *args, **kwargs) File "/a/django/django/django/views/decorators/cache.py", line 54, in _wrapped_view_func response = view_func(request, *args, **kwargs) File "/a/django/django/django/contrib/auth/views.py", line 53, in login current_site = get_current_site(request) File "/a/django/django/django/contrib/sites/shortcuts.py", line 15, in get_current_site return Site.objects.get_current(request) File "/a/django/django/django/contrib/sites/models.py", line 60, in get_current return self._get_site_by_id(site_id) File "/a/django/django/django/contrib/sites/models.py", line 39, in _get_site_by_id site = self.get(pk=site_id) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Site matching query does not exist. ====================================================================== ERROR: test_shortcut_view_only_available_to_staff (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_overriding_has_module_permission (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_login_successfully_redirects_to_original_URL (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_login (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_history_view (admin_views.tests.AdminViewPermissionsTest) History view should restrict access. ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_has_module_permission (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_double_login_is_not_allowed (admin_views.tests.AdminViewPermissionsTest) Regression test for #19327 ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_disabled_staff_permissions_when_logged_in (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_disabled_permissions_when_logged_in (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_delete_view (admin_views.tests.AdminViewPermissionsTest) Delete view should restrict access and actually delete items. ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_custom_model_admin_templates (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_conditionally_show_add_section_link (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_change_view (admin_views.tests.AdminViewPermissionsTest) Change view should restrict access and allow users to edit items. ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_app_index_fail_early (admin_views.tests.AdminViewPermissionsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_add_view (admin_views.tests.AdminViewPermissionsTest) Test add view restricts access and actually adds items. ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1059, in setUp get_permission_codename('add', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== ERROR: test_logentry_get_admin_url (admin_views.tests.AdminViewStringPrimaryKeyTest) LogEntry.get_admin_url returns a URL to edit the entry's object or None for non-existent (possibly deleted) models ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1878, in test_logentry_get_admin_url logentry = LogEntry.objects.get(content_type__name__iexact=log_entry_name) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: LogEntry matching query does not exist. ====================================================================== ERROR: test_no_standard_modeladmin_urls (admin_views.tests.AdminViewsNoUrlTest) Admin index views don't break when user's ModelAdmin removes standard urls ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_views/tests.py", line 1651, in setUp get_permission_codename('change', opts))) File "/a/django/django/tests/admin_views/tests.py", line 1038, in get_perm return Permission.objects.get(content_type=ct, codename=perm) File "/a/django/django/django/db/models/manager.py", line 86, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/a/django/django/django/db/models/query.py", line 372, in get self.model._meta.object_name) DoesNotExist: Permission matching query does not exist. ====================================================================== FAIL: test_generic_relation_ordering (generic_relations_regress.tests.GenericRelationTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations_regress/tests.py", line 106, in test_generic_relation_ordering self.assertEqual(len(places), 2) AssertionError: 3 != 2 ====================================================================== FAIL: test_annotate (generic_relations_regress.tests.GenericRelationTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations_regress/tests.py", line 231, in test_annotate self.assertEqual(qs[0].links__sum, l.id) AssertionError: 2 != 1 ====================================================================== FAIL: test_get_cache_key (cache.tests.CacheUtils) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/cache/tests.py", line 1364, in test_get_cache_key self.assertIsNone(get_cache_key(request)) AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None ====================================================================== FAIL: test_get_cache_key (cache.tests.PrefixedCacheUtils) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/cache/tests.py", line 1364, in test_get_cache_key self.assertIsNone(get_cache_key(request)) AssertionError: u'views.decorators.cache.cache_page.settingsprefix.GET.18a03f9c9649f7d684af5db3524f5c99.d41d8cd98f00b204e9800998ecf8427e' is not None ====================================================================== FAIL: test_admin_URLs_no_clash (admin_custom_urls.tests.AdminCustomUrlsTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_custom_urls/tests.py", line 67, in test_admin_URLs_no_clash self.assertContains(response, 'Change action') File "/a/django/django/django/test/testcases.py", line 362, in assertContains msg_prefix + "Couldn't find %s in response" % text_repr) AssertionError: Couldn't find 'Change action' in response ====================================================================== FAIL: test_permissions_created (proxy_models.tests.ProxyModelTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/proxy_models/tests.py", line 222, in test_permissions_created self.fail("The permission 'May display users information' has not been created") AssertionError: The permission 'May display users information' has not been created ====================================================================== FAIL: test_simplelistfilter_with_queryset_based_lookups (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 780, in test_simplelistfilter_with_queryset_based_lookups self.assertEqual(choices[0]['display'], 'All') AssertionError: != u'All' ====================================================================== FAIL: test_simplelistfilter (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 651, in test_simplelistfilter self.assertEqual(choices[0]['display'], 'All') AssertionError: != u'All' ====================================================================== FAIL: test_lookup_with_dynamic_value (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 964, in test_lookup_with_dynamic_value ("All", "the 1980's", "the 1990's")) File "/a/django/django/tests/admin_filters/tests.py", line 961, in _test_choices self.assertEqual(choices, expected_displays) AssertionError: Tuples differ: ( All + (u'All', u"the 1980's", u"the 1990's") - (, - u"the 1980's", - u"the 1990's") ====================================================================== FAIL: test_fk_with_to_field (admin_filters.tests.ListFiltersTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/admin_filters/tests.py", line 913, in test_fk_with_to_field self.assertEqual(choices[0]['display'], 'All') AssertionError: != u'All' ====================================================================== FAIL: test_has_delete_permission (modeladmin.tests.ModelAdminPermissionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/modeladmin/tests.py", line 1613, in test_has_delete_permission self.assertTrue(ma.has_delete_permission(request)) AssertionError: False is not true ====================================================================== FAIL: test_has_change_permission (modeladmin.tests.ModelAdminPermissionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/modeladmin/tests.py", line 1597, in test_has_change_permission self.assertTrue(ma.has_change_permission(request)) AssertionError: False is not true ====================================================================== FAIL: test_has_add_permission (modeladmin.tests.ModelAdminPermissionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/modeladmin/tests.py", line 1581, in test_has_add_permission self.assertTrue(ma.has_add_permission(request)) AssertionError: False is not true ====================================================================== FAIL: test_foreign_key_as_radio_field (modeladmin.tests.ModelAdminTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/modeladmin/tests.py", line 482, in test_foreign_key_as_radio_field [('', 'None'), (self.band.id, 'The Doors')]) AssertionError: Lists differ: [(u'', u'Ei arvoa'), (1, u'The... != [(u'', u'None'), (1, u'The Doo... First differing element 0: (u'', u'Ei arvoa') (u'', u'None') - [(u'', u'Ei arvoa'), (1, u'The Doors')] ? ^^^^^^ ^ + [(u'', u'None'), (1, u'The Doors')] ? ^ ^^ ====================================================================== FAIL: test_invalid_block_suggestion (template_tests.tests.TemplateRegressionTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/template_tests/tests.py", line 427, in test_invalid_block_suggestion self.assertEqual(e.args[0], "Invalid block tag: 'endblock', expected 'elif', 'else' or 'endif'") AssertionError: u"Invalid block tag: 'endblock', expected 'elif', 'else' tai 'endif'" != u"Invalid block tag: 'endblock', expected 'elif', 'else' or 'endif'" - Invalid block tag: 'endblock', expected 'elif', 'else' tai 'endif' ? ^^^ + Invalid block tag: 'endblock', expected 'elif', 'else' or 'endif' ? ^^ ====================================================================== FAIL: test_templates (template_tests.tests.TemplateTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/template_tests/tests.py", line 617, in test_templates ('-' * 70, ("\n%s\n" % ('-' * 70)).join(failures))) AssertionError: Tests failed: ---------------------------------------------------------------------- Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now02 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='INVALID', TEMPLATE_DEBUG=False): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='False', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ---------------------------------------------------------------------- Template test (Cached='True', TEMPLATE_STRING_IF_INVALID='', TEMPLATE_DEBUG=True): now04 -- FAILED. Expected u'marras 1, 2014', got u'Nov. 1, 2014' ====================================================================== FAIL: test_deprecation (utils_tests.test_text.TestUtilsText) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/utils_tests/test_text.py", line 225, in test_deprecation self.assertEqual(len(w), 1) AssertionError: 0 != 1 ====================================================================== FAIL: test_shortcut_with_absolute_url (contenttypes_tests.tests.ContentTypesViewsTests) Can view a shortcut for an Author object that has a get_absolute_url method ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/contenttypes_tests/tests.py", line 32, in test_shortcut_with_absolute_url status_code=302, target_status_code=404) File "/a/django/django/django/test/testcases.py", line 287, in assertRedirects (response.status_code, status_code)) AssertionError: Response didn't redirect as expected: Response code was 404 (expected 302) ====================================================================== FAIL: test_interactive_true (contenttypes_tests.tests.UpdateContentTypesTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/contenttypes_tests/tests.py", line 384, in test_interactive_true self.assertEqual(ContentType.objects.count(), self.before_count) AssertionError: 3 != 0 ====================================================================== FAIL: test_interactive_false (contenttypes_tests.tests.UpdateContentTypesTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/contenttypes_tests/tests.py", line 393, in test_interactive_false self.assertEqual(ContentType.objects.count(), self.before_count + 1) AssertionError: 4 != 1 ====================================================================== FAIL: test_save_new_for_concrete (generic_relations.tests.GenericInlineFormsetTest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 493, in test_save_new_for_concrete self.assertNotIsInstance(new_obj.obj, ProxyRelatedModel) AssertionError: is an instance of ====================================================================== FAIL: test_tag_deletion_related_objects_unaffected (generic_relations.tests.GenericRelationsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 240, in test_tag_deletion_related_objects_unaffected self.assertQuerysetEqual(self.lion.tags.all(), [""]) File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual return self.assertEqual(list(items), values, msg=msg) AssertionError: Lists differ: [] != [u''] Second list contains 1 additional elements. First extra element 0: - [] + [u''] ====================================================================== FAIL: test_set_foreign_key (generic_relations.tests.GenericRelationsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 163, in test_set_foreign_key [""]) File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual return self.assertEqual(list(items), values, msg=msg) AssertionError: Lists differ: [] != [u''] Second list contains 1 additional elements. First extra element 0: - [] + [u''] ====================================================================== FAIL: test_object_deletion_without_generic_relation (generic_relations.tests.GenericRelationsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 227, in test_object_deletion_without_generic_relation self.comp_func File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual return self.assertEqual(list(items), values, msg=msg) AssertionError: Lists differ: [] != [(u'clearish', , 1) - [] + [(u'clearish', , 1), + (u'fatty', , 2), + (u'hairy', , 1), + (u'salty', , 2), + (u'yellow', , 1)] ====================================================================== FAIL: test_object_deletion_with_generic_relation (generic_relations.tests.GenericRelationsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 201, in test_object_deletion_with_generic_relation self.comp_func File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual return self.assertEqual(list(items), values, msg=msg) AssertionError: Lists differ: [] != [(u'fatty', , 2) - [] + [(u'fatty', , 2), + (u'hairy', , 1), + (u'salty', , 2), + (u'yellow', , 1)] ====================================================================== FAIL: test_generic_relations_m2m_mimic (generic_relations.tests.GenericRelationsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 92, in test_generic_relations_m2m_mimic "" File "/a/django/django/django/test/testcases.py", line 881, in assertQuerysetEqual return self.assertEqual(list(items), values, msg=msg) AssertionError: Lists differ: [] != [u'', u' - [] + [u'', u''] ====================================================================== FAIL: test_generic_inline_formsets (generic_relations.tests.GenericRelationsTests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/a/django/django/tests/generic_relations/tests.py", line 344, in test_generic_inline_formsets

""" % tagged_item_id) File "/a/django/django/django/test/testcases.py", line 650, in assertHTMLEqual self.fail(self._formatMessage(msg, standardMsg)) AssertionError: