MCPcopy
hub / github.com/celery/celery / test_ping_matcher_pattern

Method test_ping_matcher_pattern

t/unit/app/test_control.py:177–185  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

175 self.assert_broadcast_called('ping')
176
177 def test_ping_matcher_pattern(self):
178 orig_inspect = self.inspect
179 self.inspect = self.app.control.inspect(pattern=".*", matcher="pcre")
180 self.inspect.ping()
181 try:
182 self.assert_broadcast_called('ping', pattern=".*", matcher="pcre")
183 except AssertionError as e:
184 self.inspect = orig_inspect
185 raise e
186
187 def test_active_queues(self):
188 self.inspect.active_queues()

Callers

nothing calls this directly

Calls 3

inspectMethod · 0.45
pingMethod · 0.45

Tested by

no test coverage detected