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

Function test_to_request

tests/binance_test.py:13–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11
12
13def test_to_request():
14 task = BinanceTask(
15 websiteURL="https://example.com",
16 websiteKey="abc123",
17 validateId="v4lid4t3"
18 )
19 result = task.to_request()
20 assert result["type"] == "BinanceTask"
21 assert result["websiteURL"] == "https://example.com"
22 assert result["websiteKey"] == "abc123"
23 assert result["validateId"] == "v4lid4t3"
24
25
26@pytest.mark.skipif(API_KEY is None, reason="API_KEY is not set")

Callers

nothing calls this directly

Calls 2

to_requestMethod · 0.95
BinanceTaskClass · 0.90

Tested by

no test coverage detected