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

Method test_bool

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

Source from the content-addressed store, hash-verified

254 assert 'changed_key' not in self.view
255
256 def test_bool(self):
257 assert bool(self.view)
258 self.view.maps[:] = []
259 assert not bool(self.view)
260
261 def test_len(self):
262 assert len(self.view) == 3

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected