mirror of
https://github.com/solvercaptcha/solvecaptcha-python.git
synced 2026-07-03 14:05:39 +02:00
35 lines
764 B
Python
Executable File
35 lines
764 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import unittest
|
|
|
|
try:
|
|
from .abstract import AbstractTest
|
|
except ImportError:
|
|
from abstract import AbstractTest
|
|
|
|
|
|
|
|
class GeeTest_V4(AbstractTest):
|
|
|
|
|
|
def test_all_params(self):
|
|
|
|
|
|
params = {
|
|
'captcha_id': 'e392e1d7fd421dc63325744d5a2b9c73',
|
|
'url' : 'https://mysite.com/page/with/geetest-v4', }
|
|
|
|
sends = {
|
|
'method' : 'geetest_v4',
|
|
'captcha_id' : 'e392e1d7fd421dc63325744d5a2b9c73',
|
|
'pageurl' : 'https://mysite.com/page/with/geetest-v4',
|
|
}
|
|
|
|
return self.send_return(sends, self.solver.geetest_v4, **params)
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main()
|
|
|