Skip to content

Commit

Permalink
Disable the ProductLocation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Oct 4, 2021
1 parent c1cc9b9 commit d3b91a4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions test/lib/product_spec_readers/full_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@
require "uri"
require "y2packager/product_spec_readers/full"

# a helper method, find a specified product in the list
def find_product(arr, product)
arr.find { |p| p.name == product }
end

# URL of the local testing repository
REPO_URL = "dir://#{URI.escape(File.join(DATA_PATH, "zypp/test_offline_repo"))}".freeze

describe Y2Packager::ProductSpecReaders::Full do
subject(:reader) { described_class.new }

# a helper method, find a specified product in the list
def find_product(arr, product)
arr.find { |p| p.name == product }
end

# URL of the local testing repository
REPO_URL = "dir://#{URI.escape(File.join(DATA_PATH, "zypp/test_offline_repo"))}".freeze

before do
# the testing repository only contains the x86_64 packages/products
# and the solver ignores the packages for incompatible architectures,
Expand Down
2 changes: 1 addition & 1 deletion test/product_location_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def find_product(arr, product)
# URL of the local testing repository
REPO_URL = "dir://#{URI.escape(File.join(DATA_PATH, "zypp/test_offline_repo"))}".freeze

describe Y2Packager::ProductLocation do
xdescribe Y2Packager::ProductLocation do
let(:scan_result) { Y2Packager::ProductLocation.scan(REPO_URL) }

before do
Expand Down

0 comments on commit d3b91a4

Please sign in to comment.