2022-11-07 15:23:20 +00:00
|
|
|
import subprocess
|
2024-02-08 13:46:26 +00:00
|
|
|
import sys
|
2022-11-07 15:23:20 +00:00
|
|
|
from pathlib import Path
|
|
|
|
|
|
|
|
|
2022-11-07 20:06:56 +00:00
|
|
|
def ex_obs():
|
|
|
|
path = Path.cwd() / "examples" / "xair_obs" / "."
|
2024-02-08 13:46:26 +00:00
|
|
|
subprocess.run([sys.executable, str(path)])
|
2022-11-07 20:06:56 +00:00
|
|
|
|
|
|
|
|
2024-02-08 21:38:30 +00:00
|
|
|
def ex_sends():
|
|
|
|
path = Path.cwd() / "examples" / "sends" / "."
|
|
|
|
subprocess.run([sys.executable, 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)])
|
2024-02-15 23:54:31 +00:00
|
|
|
|
|
|
|
|
|
|
|
def test_all():
|
|
|
|
subprocess.run(["tox"])
|