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

Function test_create_task_async

tests/geetest_test.py:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

create_task_asyncMethod · 0.95
CapmonsterClientClass · 0.90
GeeTestV4TaskClass · 0.90

Tested by

no test coverage detected