Files
verify-invoice-default/tests/run_tests.py
chenfuqiang 3a80db8a7e
All checks were successful
技能自动化发布 / release (push) Successful in 7s
chore: auto release commit (2026-09-14 22:22:49)
2026-09-14 22:22:49 +08:00

16 lines
324 B
Python
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"""默认测试入口:pytest + 基本冒烟测试。"""
import subprocess
import sys
def main():
"""运行 pytest。"""
args = [sys.executable, "-m", "pytest", "tests/", "-v", "--tb=short"]
args.extend(sys.argv[1:])
return subprocess.call(args)
if __name__ == "__main__":
raise SystemExit(main())