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 ace3744 commit 788d6afCopy full SHA for 788d6af
tests/test_image_to_text.py
@@ -6,8 +6,9 @@
6
7
class TestImageToTextBase(BaseTest):
8
def test_captcha_handler_exist(self):
9
- assert "captcha_handler" in ImageToText.__dict__.keys()
10
- assert "aio_captcha_handler" in ImageToText.__dict__.keys()
+ instance = ImageToText(api_key=self.get_random_string(36))
+ assert "captcha_handler" in instance.__dir__()
11
+ assert "aio_captcha_handler" in instance.__dir__()
12
13
14
class TestImageToText(BaseTest):
0 commit comments