diff --git a/docs/writing-a-locustfile.rst b/docs/writing-a-locustfile.rst index 8740555f86..0eac888989 100644 --- a/docs/writing-a-locustfile.rst +++ b/docs/writing-a-locustfile.rst @@ -103,7 +103,7 @@ to make other kinds of requests, validate the response, etc, see @task(3) def view_items(self): - for item_id in range(10) + for item_id in range(10): self.client.get(f"/item?id={item_id}", name="/item") time.sleep(1)