We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 588680e commit 9fe65b5Copy full SHA for 9fe65b5
tests/test_yandex_smart_captcha.py
@@ -0,0 +1,29 @@
1
+#!/usr/bin/env python3
2
+
3
+import unittest
4
5
+try:
6
+ from .abstract import AbstractTest
7
+except ImportError:
8
+ from abstract import AbstractTest
9
10
11
+class YandexSmartCaptchaTest(AbstractTest):
12
13
+ def test_all_params(self):
14
+ params = {
15
+ 'sitekey': 'FEXfAbHQsToo97VidNVk3j4dC74nGW1DgdxjtNB9',
16
+ 'url': 'https://captcha-api.yandex.ru/demo',
17
+ }
18
19
+ sends = {
20
+ 'method': 'yandex',
21
22
+ 'pageurl': 'https://captcha-api.yandex.ru/demo',
23
24
25
+ return self.send_return(sends, self.solver.yandex_smart, **params)
26
27
28
+if __name__ == '__main__':
29
+ unittest.main()
0 commit comments