From f0cd54f8a7d07fcba2eb4f8282851d7ad7930abf Mon Sep 17 00:00:00 2001 From: Nicolas JEUDY Date: Thu, 1 Dec 2016 22:46:57 +0100 Subject: [PATCH] [FIX] test work --- .../tests/test_partner_contact_in_several_companies.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 729979891..b727638ce 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 @@ -30,8 +30,8 @@ class PartnerContactInSeveralCompaniesCase(common.TransactionCase): 'set_value': False }} 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_01_show_all_positions(self): """Check that all contact are show if context is empty or @@ -52,8 +52,8 @@ class PartnerContactInSeveralCompaniesCase(common.TransactionCase): 'set_value': True }} partner_ids = self.partner.with_context(ctx).search([]) - self.assertTrue(self.bob_job1 not in partner_ids) - self.assertTrue(self.roger_job2 not in partner_ids) + self.assertTrue(self.bob_job1 in partner_ids) + self.assertTrue(self.roger_job2 in partner_ids) def test_02_reading_other_contact_one2many_show_all_positions(self): """Check that readonly partner's ``other_contact_ids`` return