'Tests that batch update with with one bad query will still fail with LWTException
@since 3.1
@jira_ticket PYTHON-432
@expected_result
@test_category object_mapper'

@unittest.skipUnless((PROTOCOL_VERSION >= 2), 'only    runs    against    the    cql3    protocol    v2.0')
def test_batch_mixed_update_if_exists_success(self):

    m = TestIfExistsModel2.create(id=1, count=8, text='123456789')
    with self.assertRaises(LWTException) as assertion:
        with BatchQuery() as b:
            m.text = '111111112'
            m.batch(b).if_exists().update()
            n = TestIfExistsModel2(id=1, count=10, text='Failure')
            n.batch(b).if_exists().update()
    self.assertEqual(assertion.exception.existing.get('[applied]'), False)
