Skip to content

Commit 8deb8aa

Browse files
author
Andrei
committed
Update test_mt_captcha.py
1 parent 7d77a90 commit 8deb8aa

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_mt_captcha.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def test_proxy_err(self, captcha_type: str):
6363
assert isinstance(resp, CaptchaResponseSer)
6464
assert resp.status == ResponseStatusEnm.Processing
6565
assert resp.errorId == 1
66-
assert resp.errorCode == "ERROR_INVALID_TASK_DATA"
66+
assert resp.errorCode == "ERROR_PROXY_CONNECT_REFUSED"
6767
assert resp.solution is None
6868

6969
@pytest.mark.parametrize("captcha_type", captcha_types)
@@ -74,5 +74,5 @@ async def test_aio_proxy_err(self, captcha_type: str):
7474
assert isinstance(resp, CaptchaResponseSer)
7575
assert resp.status == ResponseStatusEnm.Processing
7676
assert resp.errorId == 1
77-
assert resp.errorCode == "ERROR_INVALID_TASK_DATA"
77+
assert resp.errorCode == "ERROR_PROXY_CONNECT_REFUSED"
7878
assert resp.solution is None

0 commit comments

Comments
 (0)