tests: specify size parameter

This commit is contained in:
hrj 2022-04-04 20:30:28 +05:30
parent e26bd32b2f
commit 7ef308e556
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ class QuickStartUser(SequentialTaskSet):
@task
def captcha(self):
captcha_params = {"level":"debug","media":"image/png","input_type":"text"}
captcha_params = {"level":"debug","media":"image/png","input_type":"text", "size":"350x100"}
with self.client.post(path="/v2/captcha", json=captcha_params, name="/captcha", catch_response = True) as resp:
if resp.status_code != 200:

View File

@ -24,7 +24,7 @@ class QuickStartUser(SequentialTaskSet):
@task
def captcha(self):
# TODO: Iterate over parameters for a more comprehensive test
captcha_params = {"level":"easy","media":"image/png","input_type":"text"}
captcha_params = {"level":"easy","media":"image/png","input_type":"text", "size":"350x100"}
resp = self.client.post(path="/v2/captcha", json=captcha_params, name="/captcha")
if resp.status_code != 200: