Skip to content

Commit

Permalink
run_single_user: Remember to filter task by tags
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberw committed May 4, 2022
1 parent 63e2c7d commit e68a6ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions locust/debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def run_single_user(
_env.parsed_options = argument_parser.parse_options()
frame = inspect.stack()[1]
_env.parsed_options.locustfile = os.path.basename(frame[0].f_code.co_filename)
_env._filter_tasks_by_tags()
# log requests to stdout
PrintListener(
_env,
Expand Down

0 comments on commit e68a6ac

Please sign in to comment.