tests: specify size parameter
This commit is contained in:
parent
e26bd32b2f
commit
7ef308e556
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue