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

Function test_create_task_async

tests/datadome_test.py:40–43  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38@pytest.mark.asyncio
39@pytest.mark.skipif(API_KEY is None, reason="API_KEY is not set")
40async def test_create_task_async():
41 client = CapmonsterClient(API_KEY, timeout=30.0)
42 task_id = await client.create_task_async(task=DataDomeTask(websiteURL=WEBSITE_URL, metadata=METADATA))
43 assert task_id != 0

Callers

nothing calls this directly

Calls 3

create_task_asyncMethod · 0.95
CapmonsterClientClass · 0.90
DataDomeTaskClass · 0.90

Tested by

no test coverage detected