Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add __main__.py file #1112

Merged
merged 1 commit into from
Oct 20, 2019
Merged

Add __main__.py file #1112

merged 1 commit into from
Oct 20, 2019

Conversation

jdufresne
Copy link
Contributor

Allows executing locust as a module using the command:

$ python -m locust

https://docs.python.org/3/library/__main__.html

Allows executing locust as a module using the command:

    $ python -m locust

https://docs.python.org/3/library/__main__.html
@codecov
Copy link

codecov bot commented Oct 19, 2019

Codecov Report

Merging #1112 into master will decrease coverage by 0.08%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1112      +/-   ##
==========================================
- Coverage   73.32%   73.24%   -0.09%     
==========================================
  Files          17       18       +1     
  Lines        1751     1753       +2     
  Branches      256      256              
==========================================
  Hits         1284     1284              
- Misses        405      407       +2     
  Partials       62       62
Impacted Files Coverage Δ
locust/main.py 34.52% <ø> (ø) ⬆️
locust/__main__.py 0% <0%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4bf7f6e...3298b19. Read the comment docs.

@heyman heyman merged commit fb578f1 into locustio:master Oct 20, 2019
@heyman
Copy link
Member

heyman commented Oct 20, 2019

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants