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

Function assert_ping

t/integration/test_worker.py:251–254  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249@flaky
250def test_pidbox_reset_after_repeated_control_errors(manager):
251 def assert_ping():
252 ping_result = manager.inspect().ping()
253 assert ping_result
254 assert list(ping_result.values())[0] == {'ok': 'pong'}
255
256 assert_ping()
257

Calls 2

pingMethod · 0.45
inspectMethod · 0.45

Tested by

no test coverage detected