Skip to content

Commit

Permalink
Fix the test to check for canonical name
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmoore committed Apr 14, 2020
1 parent ea391b2 commit 8c118c8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/functional/test_new_resolver.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,9 @@ def test_new_resolver_no_dist_message(script):

assert "Could not find a version that satisfies the requirement B" \
in result.stderr, str(result)
assert "No matching distribution found for B" in result.stderr, str(result)
# TODO: This reports the canonical name of the project. But the current
# resolver reports the originally specified name (i.e. uppercase B)
assert "No matching distribution found for b" in result.stderr, str(result)


def test_new_resolver_installs_editable(script):
Expand Down

0 comments on commit 8c118c8

Please sign in to comment.