mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-01-27 04:53:13 -05:00
functional tests: show failed answers
Signed-off-by: hrj <harshad.rj@gmail.com>
This commit is contained in:
parent
1d746f7655
commit
caf3669bd9
@ -46,7 +46,7 @@ class QuickStartUser(SequentialTaskSet):
|
||||
resp.failure("Status was not 200: " + resp.text)
|
||||
else:
|
||||
if resp.json().get("result") != "True":
|
||||
resp.failure("Answer was not accepted")
|
||||
resp.failure("Answer was not accepted: " + ocrAnswer)
|
||||
|
||||
def solve(self, uuid, media):
|
||||
mediaFileName = "tests/test-%s.png" % uuid
|
||||
|
Loading…
x
Reference in New Issue
Block a user