From 2b7f6b791cdb0805ca495d0a07a61f037696870e Mon Sep 17 00:00:00 2001 From: Natnael Getahun Date: Wed, 30 Oct 2024 09:10:13 +0100 Subject: [PATCH] Add :nocov: comments to RMT module and RMT::Config module --- lib/rmt.rb | 2 ++ lib/rmt/config.rb | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/rmt.rb b/lib/rmt.rb index 08a1fa97a..457ace853 100644 --- a/lib/rmt.rb +++ b/lib/rmt.rb @@ -1,3 +1,4 @@ +# :nocov: module RMT VERSION ||= '2.19'.freeze @@ -7,3 +8,4 @@ module RMT DEFAULT_MIRROR_URL_PREFIX = '/repo/'.freeze CREDENTIALS_FILE_LOCATION = '/etc/zypp/credentials.d/SCCcredentials'.freeze end +# :nocov: \ No newline at end of file diff --git a/lib/rmt/config.rb b/lib/rmt/config.rb index 650a316ad..1eca58948 100644 --- a/lib/rmt/config.rb +++ b/lib/rmt/config.rb @@ -1,3 +1,4 @@ +# :nocov: require 'config' require_relative '../rmt' @@ -11,7 +12,6 @@ File.join(__dir__, '../../config/rmt.local.yml') ) - module RMT::Config class << self def db_config(key = 'database') @@ -77,3 +77,4 @@ def validate_int(value) end end end +# :nocov: \ No newline at end of file