Skip to content

Commit 7f2f09a

Browse files
committed
Add a test to ensure the normalized name of an egg is reported correctly. Ref #320.
1 parent 25e1d31 commit 7f2f09a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/test_zip.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,7 @@ def test_files(self):
7979
for file in files('example'):
8080
path = str(file.dist.locate_file(file))
8181
assert '.egg/' in path, path
82+
83+
def test_normalized_name(self):
84+
dist = distribution('example')
85+
assert dist._normalized_name == 'example'

0 commit comments

Comments
 (0)