def METHOD_NAME(self):
    cfg = Config(SECURITY_KEY="ACME-SEC")
    cfg.LOADER = "thumbor.loaders.file_loader"
    cfg.FILE_LOADER_ROOT_PATH = self.loader_path
    cfg.STORAGE = "thumbor.storages.no_storage"
    cfg.AUTO_AVIF = True
    importer = Importer(cfg)
    importer.import_modules()
    server = ServerParameters(
        8889, "localhost", "thumbor.conf", None, "info", None
    )
    server.security_key = "ACME-SEC"
    ctx = Context(server, cfg, importer)
    ctx.server.gifsicle_path = which("gifsicle")
    return ctx