From 82b201f4e296bdc8ce07b3c916820a9d6e958a99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20D=C3=ADaz=20Gonz=C3=A1lez?= Date: Tue, 19 Mar 2019 16:00:24 +0000 Subject: [PATCH] Stub missing dependency It is necessary to stub "InstFunctions" to run tests. The `BuildRequire:` is not an option since `yast-installation` already require `yast-packager` and it would create a circular dependency. --- test/test_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_helper.rb b/test/test_helper.rb index 64bbd00c6..9a045f66f 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -29,6 +29,7 @@ def stub_module(name) stub_module("FTP") stub_module("HTTP") stub_module("NtpClient") +stub_module("InstFunctions") if ENV["COVERAGE"] require "simplecov"