Kaynağa Gözat

Print contents of target install dir in test

Thomas Kluyver 5 yıl önce
ebeveyn
işleme
b285f36cbd
1 değiştirilmiş dosya ile 2 ekleme ve 0 silme
  1. 2 0
      nsist/tests/test_main.py

+ 2 - 0
nsist/tests/test_main.py

@@ -66,6 +66,8 @@ def test_installer(console_eg_copy, tmp_path):
 
     # Run installer
     run([str(installer), '/S', '/D={}'.format(inst_dir)], check=True)
+    import os
+    print(os.listdir(str(inst_dir)))
     inst_python = inst_dir / 'Python' / 'python.exe'
     inst_launch_script = inst_dir / 'Sample_printer.launch.py'