xair-api-python/scripts.py

18 lines
365 B
Python
Raw Normal View History

2022-11-07 15:23:20 +00:00
import subprocess
from pathlib import Path
2022-11-07 20:06:56 +00:00
def ex_obs():
path = Path.cwd() / "examples" / "xair_obs" / "."
subprocess.run(["py", str(path)])
2022-11-07 15:23:20 +00:00
def test_xair():
path = Path.cwd() / "tests" / "xair"
subprocess.run(["pytest", "-v", str(path)])
def test_x32():
path = Path.cwd() / "tests" / "x32"
subprocess.run(["pytest", "-v", str(path)])