'tests that if_exists on models update works as expected'

def test_if_exists_included_on_update(self):

    with mock.patch.object(self.session, 'execute') as m:
        TestIfExistsModel(id=uuid4()).if_exists().update(count=8)
    query = m.call_args[0][0].query_string
    self.assertIn('IF    EXISTS', query)
