Update test_gee_test.py
This commit is contained in:
parent
cb4b101021
commit
c47cf66f57
|
@ -6,7 +6,7 @@ from python3_anticaptcha.core.enum import ProxyTypeEnm, CaptchaTypeEnm
|
|||
from python3_anticaptcha.core.serializer import GetTaskResultResponseSer
|
||||
|
||||
|
||||
class TestGeeTestBase(BaseTest):
|
||||
class GeeTestBase(BaseTest):
|
||||
websiteURL = "https://www.geetest.com/en/adaptive-captcha-demo"
|
||||
gt = "81388ea1fc187e0c335c0a8907ff2625"
|
||||
challenge = "12345678abc90123d45678ef90123a456b"
|
||||
|
@ -15,11 +15,6 @@ class TestGeeTestBase(BaseTest):
|
|||
proxy_args = super().get_proxy_args()
|
||||
proxy_args.update({"userAgent": self.get_random_string()})
|
||||
return proxy_args
|
||||
|
||||
|
||||
class TestGeeTestV3(TestGeeTestBase):
|
||||
version = 3
|
||||
|
||||
def test_sio_success(self):
|
||||
instance = GeeTest(
|
||||
api_key=self.API_KEY,
|
||||
|
@ -77,3 +72,13 @@ class TestGeeTestV3(TestGeeTestBase):
|
|||
version=self.version,
|
||||
captcha_type=self.get_random_string(length=10),
|
||||
)
|
||||
|
||||
|
||||
class TestGeeTestV3(GeeTestBase):
|
||||
version = 3
|
||||
|
||||
|
||||
|
||||
class TestGeeTestV4(GeeTestBase):
|
||||
version = 4
|
||||
|
||||
|
|
Loading…
Reference in New Issue