'Try to use iterable but non-list or int params in query parameters.'

@mute_logger('odoo.sql_db')
def test_execute_bad_params(self):

    with registry().cursor() as cr:
        with self.assertRaises(ValueError):
            cr.execute('SELECT    id    FROM    res_users    WHERE    login=%s', 'admin')
        with self.assertRaises(ValueError):
            cr.execute('SELECT    id    FROM    res_users    WHERE    id=%s', 1)
        with self.assertRaises(ValueError):
            cr.execute('SELECT    id    FROM    res_users    WHERE    id=%s', '1')
