def config
      @config ||= begin
        conf = Bolt::Config.new(Bolt::Boltdir.new('.'), {})
        conf.modulepath = [modulepath].flatten
        conf
      end
    end
def config
      @config ||= begin
        conf = Bolt::Config.new(Bolt::Boltdir.new('.'), {})
        conf.modulepath = [modulepath].flatten
        conf
      end
    end
Override in your tests