From 5beeca6ac5e260dd1857605d97663359976c72c0 Mon Sep 17 00:00:00 2001 From: Lars Holmberg Date: Wed, 6 Dec 2023 12:12:44 +0100 Subject: [PATCH] lint --- examples/datareader_ex.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/datareader_ex.py b/examples/datareader_ex.py index a79dd58..bc3569b 100644 --- a/examples/datareader_ex.py +++ b/examples/datareader_ex.py @@ -2,7 +2,7 @@ # from locust_plugins.csvreader import CSVDictReader from locust_plugins.synchronizer import data_synchronizer, getdata -from locust import HttpUser, task, events, runners, run_single_user +from locust import HttpUser, task, events, run_single_user import time @@ -21,8 +21,8 @@ def my_task(self): user = getdata(self) self.environment.events.request.fire( request_type="fake", - # name=user["ssn"], - name="fake", + name=user["ssn"], + # name="fake", start_time=start_time, response_time=(time.perf_counter() - start_perf_counter) * 1000, response_length=0,