MCPcopy
hub / github.com/celery/celery / assert_ping

Function assert_ping

t/integration/test_canvas.py:1620–1624  ·  view source on GitHub ↗
(manager)

Source from the content-addressed store, hash-verified

1618
1619
1620def assert_ping(manager):
1621 ping_result = manager.inspect().ping()
1622 assert ping_result
1623 ping_val = list(ping_result.values())[0]
1624 assert ping_val == {"ok": "pong"}
1625
1626
1627class test_chord:

Callers 6

test_parent_idsMethod · 0.85
test_result_setMethod · 0.85
test_result_set_errorMethod · 0.85
test_parent_idsMethod · 0.85
test_nested_groupMethod · 0.85
test_large_groupMethod · 0.85

Calls 2

pingMethod · 0.45
inspectMethod · 0.45

Tested by

no test coverage detected