fix #797: locusts command error

This commit is contained in:
debugtalk
2019-12-24 15:03:18 +08:00
parent 138495bac1
commit 38cbd4082e
4 changed files with 7 additions and 3 deletions

View File

@@ -6,6 +6,10 @@
- feat: report user id to sentry
**Fixed**
- fix #797: locusts command error
## 2.4.6 (2019-12-23)
**Added**

View File

@@ -132,7 +132,7 @@ requests-toolbelt 0.9.1 A utility belt for advanced users of python-requests
$ poetry run python -m httprunner -h
# 调试运行 locusts
$ pipenv run python -m httprunner.plugins.locusts -h
$ pipenv run python -m httprunner.ext.locusts -h
```
## Docker

View File

@@ -17,7 +17,7 @@ $ locusts -f xxx.yml --processes
```
```shell script
$ python3 -m httprunner.plugins.locusts -h
$ python3 -m httprunner.ext.locusts -h
Usage: locust [options] [LocustClass [LocustClass2 ... ]]

View File

@@ -51,7 +51,7 @@ coverage = "^4.5.4"
hrun = "httprunner.cli:main"
ate = "httprunner.cli:main"
httprunner = "httprunner.cli:main"
locusts = "httprunner.plugins.locusts.cli:main"
locusts = "httprunner.ext.locusts.cli:main"
[build-system]
requires = ["poetry>=1.0.0"]