Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #678

Merged
merged 2 commits into from
Apr 3, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Apr 3 10:54:42 UTC 2018 - jlopez@suse.com

- Fix tests to use correct storage instance (part of fate#318196).
- 4.0.43

-------------------------------------------------------------------
Fri Mar 23 09:57:56 UTC 2018 - mvidner@suse.com

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-installation.spec
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#

Name: yast2-installation
Version: 4.0.42
Version: 4.0.43
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
2 changes: 2 additions & 0 deletions test/inst_disks_activate_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
let(:s390) { false }

before do
Y2Storage::StorageManager.create_test_instance

allow(Yast::Linuxrc).to receive(:InstallInf).with("WithFCoE").and_return("0")
allow(Yast::UI).to receive(:OpenDialog)
allow(Yast::UI).to receive(:CloseDialog)
Expand Down
4 changes: 4 additions & 0 deletions test/lib/clients/umount_finish_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
require "installation/clients/umount_finish"

describe Yast::UmountFinishClient do
before do
Y2Storage::StorageManager.create_test_instance
end

subject(:client) { described_class.new }

DEFAULT_SUBVOLUME = "@/.snapshots/1/snapshot".freeze
Expand Down