import subprocess import sys subprocess.check_call([sys.executable, "-m", "pytest"], cwd="state") subprocess.check_call([sys.executable, "-m", "pytest"], cwd="kernel") subprocess.check_call([sys.executable, "-m", "pytest"], cwd="interface/HUTN") subprocess.check_call([sys.executable, "-m", "pytest", "integration", "-v"])