Browse Source

Assert that metadata are installed from wheels

Adrien Ferrand 6 years ago
parent
commit
852172f01b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      nsist/tests/test_pypi.py

+ 1 - 0
nsist/tests/test_pypi.py

@@ -14,6 +14,7 @@ def test_download():
     with TemporaryDirectory() as td:
         extract_wheel(wheel, target_dir=td)
         assert_isfile(pjoin(td, 'astsearch.py'))
+        assert_isfile(pjoin(td, 'astsearch-0.1.2.dist-info', 'METADATA'))
 
 # To exclude this, run:  nosetests -a '!network'
 test_download.network = 1