mirror of
https://github.com/librecaptcha/lc-core.git
synced 2025-11-20 09:56:02 -05:00
functional tests: show failed answers
Signed-off-by: hrj <harshad.rj@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user