Update tests

This commit is contained in:
Andrei 2019-09-30 01:11:51 +03:00
parent ee06c98c99
commit 2115986d6a
7 changed files with 7 additions and 6 deletions

0
tests/__init__.py Normal file
View File

View File

@ -8,4 +8,5 @@ class MainAntiCaptcha(object):
self.anticaptcha_key_fail = os.getenv("anticaptcha_key")[:5]
self.anticaptcha_key_true = os.getenv("anticaptcha_key")
self.server_ip = "85.255.8.26"
self.image_url = "https://raw.githubusercontent.com/AndreiDrang/python3-anticaptcha/master/anticaptcha_examples/088636.png"
self.host = "https://pythoncaptcha.cloud"
self.image_url = self.host + "/static/image/common_image_example/620626.png"

View File

@ -1,6 +1,6 @@
import requests
from main import MainAntiCaptcha
from tests.main import MainAntiCaptcha
class TestAntiCaptcha(MainAntiCaptcha):

View File

@ -4,7 +4,7 @@ import pytest
from python3_anticaptcha import CustomCaptchaTask
from main import MainAntiCaptcha
from tests.main import MainAntiCaptcha
class TestAntiCaptcha(MainAntiCaptcha):

View File

@ -4,7 +4,7 @@ import pytest
from python3_anticaptcha import CustomResultHandler
from main import MainAntiCaptcha
from tests.main import MainAntiCaptcha
class TestAntiCaptcha(MainAntiCaptcha):

View File

@ -4,7 +4,7 @@ import pytest
from python3_anticaptcha import ImageToTextTask
from main import MainAntiCaptcha
from tests.main import MainAntiCaptcha
class TestAntiCaptcha(MainAntiCaptcha):

View File

@ -4,7 +4,7 @@ import pytest
from python3_anticaptcha import ReCaptchaV3TaskProxyless
from main import MainAntiCaptcha
from tests.main import MainAntiCaptcha
class TestAntiCaptcha(MainAntiCaptcha):