mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 11:29:48 +08:00
11 lines
196 B
Python
11 lines
196 B
Python
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()
|