Files
overland-controller/run_tests.py
T

20 lines
441 B
Python

import subprocess
import sys
COMMANDS = [
[sys.executable, "-m", "pytest", "tests/test_http_api_contract.py"],
[sys.executable, "-m", "pytest", "tests/test_xiao_sensor_node_contract.py"],
[sys.executable, "-m", "pytest", "tests/test_dashboard_source_contract.py"],
]
def main():
for command in COMMANDS:
print("+", " ".join(command))
subprocess.check_call(command)
if __name__ == "__main__":
main()