-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Closed

Description
Hi,
I am trying to step through the Locust source whilst running a test in order to understand the architecture. I am guessing the best way do this is to clone the source and run pdb against main.py.
$ locust python -m pdb locust/main.py
However, an exception is thrown on a directory import
from . import runners
ValueError: Attempted relative import in non-package
But there is a __init__.py
there.
I wondered if I am taking the right approach and if so how can I overcome my import problem?
Metadata
Metadata
Assignees
Labels
No labels