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

Method test_ping

t/unit/worker/test_control.py:911–915  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

909 assert 'error' in r
910
911 def test_ping(self):
912 m = {'method': 'ping',
913 'destination': hostname}
914 r = self.panel.handle_message(m, None)
915 assert r == {'ok': 'pong'}
916
917 def test_shutdown(self):
918 m = {'method': 'shutdown',

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected