diff --git a/test/test_packaging.py b/test/test_packaging.py new file mode 100644 index 000000000..5de6debe2 --- /dev/null +++ b/test/test_packaging.py @@ -0,0 +1,11 @@ +def test_pytest(selenium): + selenium.load_package('pytest') + selenium.load_package('pandas') + selenium.run('from pathlib import Path') + selenium.run('import os') + selenium.run('import pandas as pd') + selenium.run('base_dir = Path(pd.__file__).parent / "tests" / "frame"') + selenium.run('print(base_dir)') + selenium.run('print(list(sorted(os.listdir(base_dir))))') + selenium.run("import pytest;" + "pytest.main([base_dir / 'test_sorting.py'])")