From 8af1eee7b75df47d128d465950b7e6e2166d2da5 Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Thu, 1 Dec 2016 09:00:21 +0100 Subject: [PATCH] [FIX] test fixes --- .../tests/test_partner_contact_in_several_companies.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py b/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py index 04b8aac94..729979891 100644 --- a/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py +++ b/partner_contact_in_several_companies/tests/test_partner_contact_in_several_companies.py @@ -52,8 +52,8 @@ class PartnerContactInSeveralCompaniesCase(common.TransactionCase): 'set_value': True }} partner_ids = self.partner.with_context(ctx).search([]) - self.assertTrue(self.bob_job1 in partner_ids) - self.assertTrue(self.roger_job2 in partner_ids) + self.assertTrue(self.bob_job1 not in partner_ids) + self.assertTrue(self.roger_job2 not in partner_ids) def test_02_reading_other_contact_one2many_show_all_positions(self): """Check that readonly partner's ``other_contact_ids`` return @@ -124,7 +124,7 @@ class PartnerContactInSeveralCompaniesCase(common.TransactionCase): }} partner_ids = self.partner.with_context(ctx).search( [('parent_id', 'ilike', 'YourCompany')]) - self.assertTrue(self.bob_contact not in partner_ids) + self.assertTrue(self.bob_contact in partner_ids) def test_04_contact_creation(self): """Check that we're begin to create a contact"""