Skip to content

Commit 6b70f33

Browse files
committed
More tests
1 parent 80a138b commit 6b70f33

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/yup_python/yup_ScriptPython.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,19 @@ TEST_F (ScriptPythonTest, RunPythonTests)
109109
import pytest
110110
except ImportError:
111111
old_argv = [x for x in sys.argv]
112-
sys.argv = ['pip', 'install', package, '--prefix', '{{root_path}}']
112+
sys.argv = ['pip', 'install', 'pytest', '--prefix', '{{root_path}}']
113113
try:
114114
runpy.run_module('pip', run_name='__main__')
115115
except SystemExit as ex:
116116
print(str(ex))
117117
finally:
118118
sys.argv = old_argv
119+
120+
os.system('ls -la {{root_path}}')
121+
os.system('ls -la {{root_path}}/lib')
122+
os.system('ls -la {{root_path}}/lib/python{{version}}')
123+
os.system('ls -la {{root_path}}/lib/python{{version}}/site-packages')
124+
119125
import pytest
120126
121127
pytest.main(['-x', '{{test_path}}', '-vvv'])

0 commit comments

Comments
 (0)