MCPcopy Create free account
hub / github.com/alperensert/capmonster_python / test_create_task_async

Function test_create_task_async

tests/recaptcha_v2_test.py:33–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

31@pytest.mark.asyncio
32@pytest.mark.skipif(API_KEY is None, reason="API_KEY is not set")
33async def test_create_task_async():
34 client = CapmonsterClient(API_KEY, timeout=30.0)
35 task_id = await client.create_task_async(task=RecaptchaV2Task(websiteURL=WEBSITE_URL, websiteKey=WEBSITE_KEY))
36 assert task_id != 0

Callers

nothing calls this directly

Calls 3

create_task_asyncMethod · 0.95
CapmonsterClientClass · 0.90
RecaptchaV2TaskClass · 0.90

Tested by

no test coverage detected