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

Function test_create_task_async

tests/binance_test.py:36–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34@pytest.mark.asyncio
35@pytest.mark.skipif(API_KEY is None, reason="API_KEY is not set")
36async def test_create_task_async():
37 client = CapmonsterClient(API_KEY, timeout=30.0)
38 task_id = await client.create_task_async(
39 task=BinanceTask(websiteURL=WEBSITE_URL, websiteKey=WEBSITE_KEY, validateId=VALIDATE_ID))
40 assert task_id != 0

Callers

nothing calls this directly

Calls 3

create_task_asyncMethod · 0.95
CapmonsterClientClass · 0.90
BinanceTaskClass · 0.90

Tested by

no test coverage detected