MCPcopy Create free account
hub / github.com/celery/celery / assert_ping

Function assert_ping

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

Source from the content-addressed store, hash-verified

2018
2019
2020def assert_ping(manager):
2021 ping_result = manager.inspect().ping()
2022 assert ping_result
2023 ping_val = list(ping_result.values())[0]
2024 assert ping_val == {"ok": "pong"}
2025
2026
2027class test_chord:

Calls 2

pingMethod · 0.45
inspectMethod · 0.45

Tested by

no test coverage detected