Skip to content

Commit

Permalink
Add a test to ensure the normalized name of an egg is reported correc…
Browse files Browse the repository at this point in the history
…tly. Ref #320.
  • Loading branch information
jaraco committed May 28, 2021
1 parent 25e1d31 commit 7f2f09a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_zip.py
Expand Up @@ -79,3 +79,7 @@ def test_files(self):
for file in files('example'):
path = str(file.dist.locate_file(file))
assert '.egg/' in path, path

def test_normalized_name(self):
dist = distribution('example')
assert dist._normalized_name == 'example'

0 comments on commit 7f2f09a

Please sign in to comment.