diff options
author | Giovane <giovaneliberato@gmail.com> | 2015-11-19 19:03:24 -0200 |
---|---|---|
committer | Giovane <giovaneliberato@gmail.com> | 2015-11-19 19:03:24 -0200 |
commit | b67d3922e4a4ab69e8e1bf6a94f15d4fc3450cfe (patch) | |
tree | f5daea863fbb08c9655ff4c84a51918b652fff67 /service/test/integration/test_contacts.py | |
parent | c21a6ddf277514c62a89cbd9214ec4fc905b4988 (diff) |
Fixing tests #531
Diffstat (limited to 'service/test/integration/test_contacts.py')
-rw-r--r-- | service/test/integration/test_contacts.py | 5 |
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) |