Skip to content

Commit

Permalink
Uncommented test case to test the fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
randhircs committed Mar 3, 2025
1 parent 11c1a55 commit 306d934
Showing 1 changed file with 17 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -490,23 +490,23 @@
end
end

# context "with incompatible versions" do
# let(:manifest_fixture_name) { "incompatible_versions.in" }
# let(:generated_fixture_name) { "incompatible_versions.txt" }
# let(:dependency_name) { "pyyaml" }
# let(:dependency_version) { "6.0.1" }
# let(:dependency_previous_version) { "5.3.1" }
# let(:dependency_requirements) { [] }
# let(:dependency_previous_requirements) { [] }

# it "raises an error indicating the dependencies are not resolvable", :slow do
# expect { updated_files }.to raise_error(Dependabot::DependencyFileNotResolvable) do |err|
# expect(err.message).to include(
# "There are incompatible versions in the resolved dependencies:\n pyyaml==6.0.1"
# )
# end
# end
# end
context "with incompatible versions" do
let(:manifest_fixture_name) { "incompatible_versions.in" }
let(:generated_fixture_name) { "incompatible_versions.txt" }
let(:dependency_name) { "pyyaml" }
let(:dependency_version) { "6.0.1" }
let(:dependency_previous_version) { "5.3.1" }
let(:dependency_requirements) { [] }
let(:dependency_previous_requirements) { [] }

it "raises an error indicating the dependencies are not resolvable", :slow do
expect { updated_files }.to raise_error(Dependabot::DependencyFileNotResolvable) do |err|
expect(err.message).to include(
"There are incompatible versions in the resolved dependencies:\n pyyaml==6.0.1"
)
end
end
end

context "with stripped extras" do
let(:manifest_fixture_name) { "strip_extras.in" }
Expand Down

0 comments on commit 306d934

Please sign in to comment.