'make sure we don\'t put \'IF NOT EXIST\' in update statements'

def test_if_not_exists_is_not_include_with_query_on_update(self):

    o = TestIfNotExistsModel.create(text='whatever')
    o.text = 'new    stuff'
    o = o.if_not_exists()
    with mock.patch.object(self.session, 'execute') as m:
        o.save()
    query = m.call_args[0][0].query_string
    self.assertNotIn('IF    NOT    EXIST', query)
