MCPcopy
hub / github.com/celery/celery / test_clear

Method test_clear

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

Source from the content-addressed store, hash-verified

112 assert self.view.foo == 10
113
114 def test_clear(self):
115 self.view.clear()
116 assert self.view.both == 1
117 assert 'changed_key' not in self.view
118
119 def test_bool(self):
120 assert bool(self.view)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected