瀏覽代碼

Assert that metadata are installed from wheels

Adrien Ferrand 6 年之前
父節點
當前提交
852172f01b
共有 1 個文件被更改,包括 1 次插入0 次删除
  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:
     with TemporaryDirectory() as td:
         extract_wheel(wheel, target_dir=td)
         extract_wheel(wheel, target_dir=td)
         assert_isfile(pjoin(td, 'astsearch.py'))
         assert_isfile(pjoin(td, 'astsearch.py'))
+        assert_isfile(pjoin(td, 'astsearch-0.1.2.dist-info', 'METADATA'))
 
 
 # To exclude this, run:  nosetests -a '!network'
 # To exclude this, run:  nosetests -a '!network'
 test_download.network = 1
 test_download.network = 1