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

Function test_create_task

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

Source from the content-addressed store, hash-verified

30
31@pytest.mark.skipif(API_KEY is None, reason="API_KEY is not set")
32def test_create_task():
33 client = CapmonsterClient(API_KEY, timeout=30.0)
34 task_id = client.create_task(task=DataDomeTask(websiteURL=WEBSITE_URL, metadata=METADATA))
35 assert task_id != 0
36
37
38@pytest.mark.asyncio

Callers

nothing calls this directly

Calls 3

create_taskMethod · 0.95
CapmonsterClientClass · 0.90
DataDomeTaskClass · 0.90

Tested by

no test coverage detected