mirror of
https://github.com/pyscript/pyscript.git
synced 2026-03-24 11:00:38 -04:00
Bootstrap python tests (#697)
* move current integration tests to the integration folder * move pyscript.py into its own python folder * change the path for python unit testing files * change pyscript.py path * Update Makefile * remove echo * replace conda run with pytest directly * oops, add python test files I embarrassingly forgot to add Co-authored-by: Peter W <34256109+pww217@users.noreply.github.com>
This commit is contained in:
8
pyscriptjs/tests/py-unit/conftest.py
Normal file
8
pyscriptjs/tests/py-unit/conftest.py
Normal file
@@ -0,0 +1,8 @@
|
||||
"""All data required for testing examples"""
|
||||
import pathlib
|
||||
import sys
|
||||
|
||||
# current working directory
|
||||
base_path = pathlib.Path().absolute()
|
||||
python_source = base_path / "src" / "python"
|
||||
sys.path.append(str(python_source))
|
||||
Reference in New Issue
Block a user