MCPcopy
hub / github.com/celery/celery / test_mget

Method test_mget

t/unit/backends/test_cache.py:109–113  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 deps.delete.assert_called_with()
108
109 def test_mget(self):
110 self.tb._set_with_state('foo', 1, states.SUCCESS)
111 self.tb._set_with_state('bar', 2, states.SUCCESS)
112
113 assert self.tb.mget(['foo', 'bar']) == {'foo': 1, 'bar': 2}
114
115 def test_forget(self):
116 self.tb.mark_as_done(self.tid, {'foo': 'bar'})

Callers

nothing calls this directly

Calls 2

_set_with_stateMethod · 0.45
mgetMethod · 0.45

Tested by

no test coverage detected