diff --git a/lib/rmt.rb b/lib/rmt.rb index 08a1fa97a..7d62b9bce 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: diff --git a/lib/rmt/config.rb b/lib/rmt/config.rb index 650a316ad..a967e8f53 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: