Skip to content

Commit

Permalink
Merge pull request #1218 from aasmpro/patch-1
Browse files Browse the repository at this point in the history
fix: change typo UserBehavior to UserBehaviour
  • Loading branch information
cyberw authored Jan 7, 2020
2 parents d6fd7ad + f9955fb commit d49f977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Another way we could declare tasks, which is usually more convenient, is to use
from locust import HttpLocust, TaskSet, task, between
class UserBehavior(TaskSet):
class UserBehaviour(TaskSet):
def on_start(self):
""" on_start is called when a Locust start before any task is scheduled """
self.login()
Expand All @@ -85,7 +85,7 @@ Another way we could declare tasks, which is usually more convenient, is to use
self.client.get("/profile")
class WebsiteUser(HttpLocust):
task_set = UserBehavior
task_set = UserBehaviour
wait_time = between(5, 9)
The :py:class:`Locust <locust.core.Locust>` class (as well as :py:class:`HttpLocust <locust.core.HttpLocust>`
Expand Down

0 comments on commit d49f977

Please sign in to comment.