Skip to content

Commit b40c347

Browse files
committed
yet another minor cleanup
1 parent 6b70ced commit b40c347

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/performance/locustfiles/deployment_max_rps_single_endpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def _(parser: LocustArgumentParser) -> None:
5555

5656
class WebApiUser(OsparcWebUserBase):
5757
@task
58-
def get_endpoint(self) -> None:
58+
def call_endpoint(self) -> None:
5959
http_method = self.environment.parsed_options.http_method.lower()
6060
method = getattr(self, f"authenticated_{http_method}")
6161
if not isinstance(method, Callable):

tests/performance/locustfiles/functions/function_run_load_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def _(parser: LocustArgumentParser) -> None:
4545

4646
class WebApiUser(OsparcWebUserBase):
4747
@task
48-
def get_endpoint(self) -> None:
48+
def run_function(self) -> None:
4949

5050
function_uid = self.environment.parsed_options.function_uid
5151
job_input_schema = json.loads(self.environment.parsed_options.body_json_schema)

0 commit comments

Comments
 (0)