change: use sys.exit(code) in hrun main

This commit is contained in:
debugtalk
2019-12-24 23:29:36 +08:00
parent 9c8f8327ea
commit 694afdb282
3 changed files with 15 additions and 10 deletions

View File

@@ -1,6 +1,5 @@
import sys
from httprunner.cli import main
if __name__ == "__main__":
sys.exit(main())
main()