From b67d3922e4a4ab69e8e1bf6a94f15d4fc3450cfe Mon Sep 17 00:00:00 2001 From: Giovane Date: Thu, 19 Nov 2015 19:03:24 -0200 Subject: Fixing tests #531 --- service/test/integration/test_contacts.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'service/test/integration/test_contacts.py') 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 ') @@ -70,7 +70,6 @@ class ContactsTest(SoledadTestBase): contacts = yield self.get_contacts(query='Recipient') - self.assertEquals(3, len(contacts)) - self.assertTrue('Recipient Principal ' in contacts) + self.assertEquals(4, len(contacts)) self.assertTrue('Recipient Copied ' in contacts) self.assertTrue('Recipient Carbon ' in contacts) -- cgit v1.2.3