MCPcopy
hub / github.com/celery/celery / test_hello__with_revoked

Method test_hello__with_revoked

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

Source from the content-addressed store, hash-verified

119 'hello', from_node='george@vandelay.com', revoked=None)
120
121 def test_hello__with_revoked(self):
122 revoked = LimitedSet(100)
123 for i in range(100):
124 revoked.add(f'id{i}')
125 self.inspect.hello('george@vandelay.com', revoked=revoked._data)
126 self.assert_broadcast_called(
127 'hello', from_node='george@vandelay.com', revoked=revoked._data)
128
129 def test_memsample(self):
130 self.inspect.memsample()

Callers

nothing calls this directly

Calls 4

addMethod · 0.95
LimitedSetClass · 0.90
helloMethod · 0.80

Tested by

no test coverage detected