Skip to content

Commit

Permalink
Update a test for resolvelib 0.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
pradyunsg committed Oct 9, 2021
1 parent 394a24e commit c01b5c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/unit/resolution_resolvelib/test_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def test_provider_known_depths(factory: Factory) -> None:
resolutions={},
candidates={},
information={root_requirement_name: root_requirement_information},
backtrack_causes=[],
)
assert provider._known_depths == {root_requirement_name: 1.0}

Expand All @@ -69,6 +70,7 @@ def test_provider_known_depths(factory: Factory) -> None:
root_requirement_name: root_requirement_information,
transative_requirement_name: transative_package_information,
},
backtrack_causes=[],
)
assert provider._known_depths == {
transative_requirement_name: 2.0,
Expand Down

0 comments on commit c01b5c6

Please sign in to comment.