@@ -23,23 +23,23 @@ def test_async_retries(self):
2323 def test_create_base (self ):
2424 CaptchaParams (
2525 api_key = self .get_random_string (36 ),
26- captcha_type = CaptchaTypeEnm .VisionEngine ,
26+ captcha_type = CaptchaTypeEnm .Control ,
2727 request_url = REQUEST_URL ,
2828 sleep_time = self .sleep_time ,
2929 )
3030
3131 def test_aio_create_base (self ):
3232 CaptchaParams (
3333 api_key = self .get_random_string (36 ),
34- captcha_type = CaptchaTypeEnm .VisionEngine ,
34+ captcha_type = CaptchaTypeEnm .Control ,
3535 request_url = REQUEST_URL ,
3636 sleep_time = self .sleep_time ,
3737 )
3838
3939 def test_create_base_context (self ):
4040 with CaptchaParams (
4141 api_key = self .get_random_string (36 ),
42- captcha_type = CaptchaTypeEnm .VisionEngine ,
42+ captcha_type = CaptchaTypeEnm .Control ,
4343 request_url = REQUEST_URL ,
4444 sleep_time = self .sleep_time ,
4545 ) as instance :
@@ -48,7 +48,7 @@ def test_create_base_context(self):
4848 async def test_aio_create_base_context (self ):
4949 async with CaptchaParams (
5050 api_key = self .get_random_string (36 ),
51- captcha_type = CaptchaTypeEnm .VisionEngine ,
51+ captcha_type = CaptchaTypeEnm .Control ,
5252 request_url = REQUEST_URL ,
5353 sleep_time = self .sleep_time ,
5454 ) as instance :
@@ -60,27 +60,27 @@ async def test_aio_create_base_context(self):
6060
6161 def test_no_key_err (self ):
6262 with pytest .raises (TypeError ):
63- CaptchaParams (captcha_type = CaptchaTypeEnm .VisionEngine , request_url = REQUEST_URL , sleep_time = self .sleep_time )
63+ CaptchaParams (captcha_type = CaptchaTypeEnm .Control , request_url = REQUEST_URL , sleep_time = self .sleep_time )
6464
6565 def test_no_key_err_context (self ):
6666 with pytest .raises (TypeError ):
6767 with CaptchaParams (
68- captcha_type = CaptchaTypeEnm .VisionEngine , request_url = REQUEST_URL , sleep_time = self .sleep_time
68+ captcha_type = CaptchaTypeEnm .Control , request_url = REQUEST_URL , sleep_time = self .sleep_time
6969 ) as instance :
7070 pass
7171
7272 async def test_aio_no_key_err_context (self ):
7373 with pytest .raises (TypeError ):
7474 async with CaptchaParams (
75- captcha_type = CaptchaTypeEnm .VisionEngine , request_url = REQUEST_URL , sleep_time = self .sleep_time
75+ captcha_type = CaptchaTypeEnm .Control , request_url = REQUEST_URL , sleep_time = self .sleep_time
7676 ) as instance :
7777 pass
7878
7979 def test_create_base_err_context (self ):
8080 with pytest .raises (Exception ):
8181 with CaptchaParams (
8282 api_key = self .get_random_string (36 ),
83- captcha_type = CaptchaTypeEnm .VisionEngine ,
83+ captcha_type = CaptchaTypeEnm .Control ,
8484 request_url = REQUEST_URL ,
8585 sleep_time = self .sleep_time ,
8686 ) as instance :
@@ -90,14 +90,14 @@ async def test_aio_create_base_err_context(self):
9090 with pytest .raises (Exception ):
9191 async with CaptchaParams (
9292 api_key = self .get_random_string (36 ),
93- captcha_type = CaptchaTypeEnm .VisionEngine ,
93+ captcha_type = CaptchaTypeEnm .Control ,
9494 request_url = REQUEST_URL ,
9595 sleep_time = self .sleep_time ,
9696 ) as instance :
9797 raise Exception ()
9898
9999
100- class TestEnum (BaseTest ):
100+ class TestMyEnum (BaseTest ):
101101 def test_enum_list (self ):
102102 assert isinstance (MyEnum .list (), list )
103103
0 commit comments