📝 docs(async-api.mdx): update endpoint path for checking task status to improve consistency and clarity

🐛 fix(endpoints.py): update endpoint path for checking task status to match the updated path in the documentation

🐛 fix(schemas.py): add TaskResponse schema to properly handle task response data

🐛 fix(locustfile.py): update endpoint path for polling task status to match the updated path in the endpoints

🐛 fix(test_endpoints.py): update helper function and test cases to use the new task response structure and endpoint path for polling task status
This commit is contained in:
Gabriel Luiz Freitas Almeida 2023-09-26 19:34:50 -03:00
commit af35ae315e
5 changed files with 34 additions and 12 deletions

View file

@ -19,7 +19,7 @@ class NameTest(FastHttpUser):
while True:
with self.rest(
"GET",
f"/task/{task_id}/status",
f"/task/{task_id}",
name="task_status",
headers=self.headers,
) as response: