Skip to content

Commit

Permalink
functional tests: show failed answers
Browse files Browse the repository at this point in the history
Signed-off-by: hrj <[email protected]>
  • Loading branch information
hrj committed Apr 13, 2021
1 parent 1d746f7 commit caf3669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/locustfile-functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def captcha(self):
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
Expand Down

0 comments on commit caf3669

Please sign in to comment.