def METHOD_NAME(tmpdir):
    """Test set_many()"""
    dbpath = tmpdir / "kvtest.db"
    kvstore = SQLiteKVStore(dbpath)
    kvstore.set_many([("foo", "bar"), ("baz", "qux")])
    assert kvstore.get("foo") == "bar"
    assert kvstore.get("baz") == "qux"
    kvstore.close()
    # make sure values got committed
    kvstore = SQLiteKVStore(dbpath)
    assert kvstore.get("foo") == "bar"
    assert kvstore.get("baz") == "qux"
    kvstore.close()