summaryrefslogtreecommitdiff
path: root/service/test/integration/test_contacts.py
diff options
context:
space:
mode:
authorGiovane <giovaneliberato@gmail.com>2015-11-19 19:03:24 -0200
committerGiovane <giovaneliberato@gmail.com>2015-11-19 19:03:24 -0200
commitb67d3922e4a4ab69e8e1bf6a94f15d4fc3450cfe (patch)
treef5daea863fbb08c9655ff4c84a51918b652fff67 /service/test/integration/test_contacts.py
parentc21a6ddf277514c62a89cbd9214ec4fc905b4988 (diff)
Fixing tests #531
Diffstat (limited to 'service/test/integration/test_contacts.py')
-rw-r--r--service/test/integration/test_contacts.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/service/test/integration/test_contacts.py b/service/test/integration/test_contacts.py
index 4a0957a8..e7fabdb7 100644
--- a/service/test/integration/test_contacts.py
+++ b/service/test/integration/test_contacts.py
@@ -57,7 +57,7 @@ class ContactsTest(SoledadTestBase):
@defer.inlineCallbacks
def test_deduplication_on_same_mail_address_using_largest(self):
- input_mail = MailBuilder().with_tags(['important']).build_input_mail()
+ input_mail = MailBuilder().with_tags(['important']).with_from('sender@from.com').build_input_mail()
formatted_input_mail = MailBuilder().with_tags(['important'])
formatted_input_mail.with_to('Recipient Principal <recipient@to.com>')
@@ -70,7 +70,6 @@ class ContactsTest(SoledadTestBase):
contacts = yield self.get_contacts(query='Recipient')
- self.assertEquals(3, len(contacts))
- self.assertTrue('Recipient Principal <recipient@to.com>' in contacts)
+ self.assertEquals(4, len(contacts))
self.assertTrue('Recipient Copied <recipient@cc.com>' in contacts)
self.assertTrue('Recipient Carbon <recipient@bcc.com>' in contacts)