Skip to content

Commit

Permalink
Update test_core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiDrang committed Dec 8, 2023
1 parent 03f2d45 commit e2fc51b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from tests.conftest import BaseTest
from python_rucaptcha.core.base import BaseCaptcha
from python_rucaptcha.core.enums import MyEnum, ControlEnm
from python_rucaptcha.core.enums import MyEnum, ControlEnm, ServiceEnm
from python_rucaptcha.core.config import RETRIES, ASYNC_RETRIES, attempts_generator


Expand Down Expand Up @@ -104,3 +104,10 @@ def test_attempts_generator(self):
for attempt in attempts:
assert isinstance(attempt, int)
assert attempt == 4


class TestDeathbycaptcha(BaseTest):
def test_attempts_generator(self):
BaseCaptcha(
rucaptcha_key=self.RUCAPTCHA_KEY, service_type=ServiceEnm.DEATHBYCAPTCHA, method=ControlEnm.control.value
)

0 comments on commit e2fc51b

Please sign in to comment.