Skip to content

Commit

Permalink
Merge pull request locustio#34 from pancaprima/prima/f_runner
Browse files Browse the repository at this point in the history
Prima add runners property on core.py
  • Loading branch information
Amadeea authored Dec 4, 2017
2 parents bba14e6 + 7c3ad79 commit c8ded0c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions locust/core.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import gevent
from . import runners
from gevent import monkey, GreenletExit
import six
from six.moves import xrange
Expand Down Expand Up @@ -365,3 +366,10 @@ def configuration(self):
"""
return self.config.read_json()

@property
def runners(self):
"""
Reference to runners.py
"""
return runners.locust_runner

0 comments on commit c8ded0c

Please sign in to comment.