Skip to content

TEST FAILED: python manage.py test tests/ --noinput #134

@anselmix80

Description

@anselmix80

This row of code goes in error
File "/home/anselmix/Developer/django-crm/tests/tasks/test_task.py", line 663
self.assertEqual([self.chief.email], mail.outbox[2].to)

If I comment this test ends well.

This is the error:
.Run Test Method: test_restore_inquiry_email
.

FAIL: test_subtask_completion_notification (tests.tasks.test_task.TestTask.test_subtask_completion_notification)

Traceback (most recent call last):
File "/home/anselmix/Developer/django-crm/tests/tasks/test_task.py", line 663, in test_subtask_completion_notification
self.assertEqual([self.chief.email], mail.outbox[2].to)
~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: Lists differ: ['[email protected]'] != ['[email protected]', '[email protected]']

Second list contains 1 additional elements.
First extra element 1:
'[email protected]'

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions