Skip to content
Permalink
Browse files

adapted

  • Loading branch information...
schubi2 committed Feb 1, 2018
1 parent a5cfc67 commit dd75ba47252fac957ed15f201e13665acdf6de79
Showing with 6 additions and 4 deletions.
  1. +3 −3 package/autoyast2.changes
  2. +2 −0 src/modules/AutoinstSoftware.rb
  3. +1 −1 test/AutoinstSoftware_test.rb
@@ -1,9 +1,9 @@
-------------------------------------------------------------------
Thu Feb 1 12:59:08 CET 2018 - schubi@suse.de

- Reporting packages which cannot be selected for installation.
BUT do not report packages which have not been set by the
AutoYaST configuration file. (bnc#1077292)
- Report packages which cannot be select for installation
(except those packages not included in the AutoYaST profile)
(bnc#1077292)
- 3.1.170

-------------------------------------------------------------------
@@ -13,6 +13,8 @@ module Yast
class AutoinstSoftwareClass < Module
include Yast::Logger

# Maximal amount of packages which will be shown
# in a popup.
MAX_PACKAGE_VIEW = 5

def main
@@ -45,7 +45,7 @@
subject.SelectPackagesForInstallation()
end

it "shows a popup for not founded packages which have been selected by AY configuration only" do
it "shows a popup for not found packages which have been selected by AY configuration only" do
subject.Import(Yast::Profile.current["software"])
expect(Yast::Storage).to receive(:AddPackageList).and_return(["a2","a3","a4"])
expect(Yast::Pkg).to receive(:DoProvide).with(["a2","a3","a4"]).and_return({"a4" => "not found"})

0 comments on commit dd75ba4

Please sign in to comment.
You can’t perform that action at this time.