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

Method test_contains

t/unit/utils/test_collections.py:647–649  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

645 assert len(b) == 0
646
647 def test_contains(self):
648 b = Messagebuffer(10, list(range(10)))
649 assert 5 in b
650
651 def test_reversed(self):
652 assert (list(reversed(Messagebuffer(10, list(range(10))))) ==

Callers

nothing calls this directly

Calls 1

MessagebufferClass · 0.90

Tested by

no test coverage detected