From e2fc51b18fd2f782ef09118212051459c4ae8962 Mon Sep 17 00:00:00 2001 From: Andrei Date: Fri, 8 Dec 2023 18:14:40 +0300 Subject: [PATCH] Update test_core.py --- tests/test_core.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tests/test_core.py b/tests/test_core.py index 4038cc94..24e9e9c3 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -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 @@ -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 + )