Spaces:
No application file
No application file
File size: 198 Bytes
4f4aa9b | 1 2 3 4 5 6 7 8 9 10 | import subprocess
def run_tests():
result = subprocess.run(
["pytest"],
capture_output=True,
text=True
)
return result.returncode, result.stdout + result.stderr
|