def METHOD_NAME(tmp_path, table_factory, temp_db_with_extensions):
    table_factory('country_name', 'partition INT', ((0, ), (1, ), (2, )))
    cfg = Configuration(None)
    cfg.set_libdirs(module='.', osm2pgsql='.', sql=tmp_path)
    return cfg