Browse Source

Assert that metadata are installed from wheels

Adrien Ferrand 6 năm trước cách đây
mục cha
commit
852172f01b
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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