@testing.requires.multivalues_inserts
def test_multivalues_insert(self):
    users = self.tables.users
    users.insert(values=[{'user_id': 7, 'user_name': 'jack'}, {'user_id': 8, 'user_name': 'ed'}]).execute()
    rows = users.select().order_by(users.c.user_id).execute().fetchall()
    eq_(rows[0], (7, 'jack'))
    eq_(rows[1], (8, 'ed'))
    users.insert(values=[(9, 'jack'), (10, 'ed')]).execute()
    rows = users.select().order_by(users.c.user_id).execute().fetchall()
    eq_(rows[2], (9, 'jack'))
    eq_(rows[3], (10, 'ed'))
@testing.requires.multivalues_inserts
def test_multivalues_insert(self):
    users = self.tables.users
    users.insert(values=[{'user_id': 7, 'user_name': 'jack'}, {'user_id': 8, 'user_name': 'ed'}]).execute()
    rows = users.select().order_by(users.c.user_id).execute().fetchall()
    eq_(rows[0], (7, 'jack'))
    eq_(rows[1], (8, 'ed'))
    users.insert(values=[(9, 'jack'), (10, 'ed')]).execute()
    rows = users.select().order_by(users.c.user_id).execute().fetchall()
    eq_(rows[2], (9, 'jack'))
    eq_(rows[3], (10, 'ed'))