Skip to content

Commit

Permalink
Update test_fun_captcha.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Sep 12, 2023
1 parent 78fabe4 commit 21a787e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_fun_captcha.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ async def test_aio_api_key_err(self):
funcaptchaApiJSSubdomain=funcaptchaApiJSSubdomain,
).aio_captcha_handler()
assert result.errorId == 1
assert result.errorCode == "ERROR_KEY_DENIED_ACCESS"
assert result.errorCode in ["ERROR_KEY_DENIED_ACCESS", "ERROR_INVALID_TASK_DATA"]
assert not result.solution

def test_api_key_err(self):
Expand All @@ -187,7 +187,7 @@ def test_api_key_err(self):
funcaptchaApiJSSubdomain=funcaptchaApiJSSubdomain,
).captcha_handler()
assert result.errorId == 1
assert result.errorCode == "ERROR_KEY_DENIED_ACCESS"
assert result.errorCode in ["ERROR_KEY_DENIED_ACCESS", "ERROR_INVALID_TASK_DATA"]
assert not result.solution


Expand Down

0 comments on commit 21a787e

Please sign in to comment.