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

Function test_create_task

tests/recaptcha_v2_test.py:25–28  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23
24@pytest.mark.skipif(API_KEY is None, reason="API_KEY is not set")
25def test_create_task():
26 client = CapmonsterClient(API_KEY, timeout=30.0)
27 task_id = client.create_task(task=RecaptchaV2Task(websiteURL=WEBSITE_URL, websiteKey=WEBSITE_KEY))
28 assert task_id != 0
29
30
31@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

create_taskMethod · 0.95
CapmonsterClientClass · 0.90
RecaptchaV2TaskClass · 0.90

Tested by

no test coverage detected