You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
However, an exception is thrown on a directory import
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?
The text was updated successfully, but these errors were encountered: