Skip to content

Commit

Permalink
better import import
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed Jun 29, 2020
1 parent fc52a10 commit e28c10e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions locust_plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
from .wait_time import constant_ips, constant_total_ips
from .debug import run_single_user
from locust import User, constant
from .checks import add_checks_to_arguments as __add_checks_to_arguments

del __add_checks_to_arguments # this was just imported for the side effects - yes this is a little strange, improvements are welcome :)
from . import checks as _checks # import this for the side-effects

# Monkey patch User while waiting for everyone else to see the light:
# https://github.com/locustio/locust/issues/1308
Expand Down

0 comments on commit e28c10e

Please sign in to comment.