bugfix: debug entrance

This commit is contained in:
debugtalk
2018-02-23 20:22:24 +08:00
parent 4fc0641fc6
commit 0b4d8fe6fb
3 changed files with 13 additions and 12 deletions

10
main-debug.py Normal file
View File

@@ -0,0 +1,10 @@
import sys
from httprunner.cli import main_hrun, main_locust
cmd = sys.argv.pop(1)
if cmd in ["hrun", "httprunner", "ate"]:
main_hrun()
elif cmd in ["locust", "locusts"]:
main_locust()