From 76251672d2c5593db7351b8836e99c877f64815a Mon Sep 17 00:00:00 2001 From: Djoume Salvetti Date: Tue, 29 Oct 2013 15:48:08 -0400 Subject: [PATCH] Fixes typo in example code --- docs/writing-a-locustfile.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/writing-a-locustfile.rst b/docs/writing-a-locustfile.rst index adff74b74c..792304c48d 100644 --- a/docs/writing-a-locustfile.rst +++ b/docs/writing-a-locustfile.rst @@ -79,7 +79,7 @@ Here is an example:: from locust import Locust, TaskSet, task - class MyLocust(TaskSet): + class MyTaskSet(TaskSet): @task def my_task(self): print "Locust instance (%r) executing my_task" % (self.locust) @@ -92,7 +92,7 @@ the following example *task2* will be executed twice as much as *task1*:: from locust import Locust, TaskSet, task - class MyLocust(TaskSet): + class MyTaskSet(TaskSet): min_wait = 5000 max_wait = 15000