def METHOD_NAME(dbsession, transact):
    del transact
    from c2cgeoportal_commons.models.static import OAuth2Client
    clients = []
    for i in range(23):
        client = OAuth2Client()
        client.client_id = str(uuid4())
        client.secret = "1234"
        client.redirect_uri = "http://127.0.0.1:7070/"
        dbsession.add(client)
        clients.append(client)
    dbsession.flush()
    yield {
        "oauth2_clients": clients,
    }