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

Method test_clear

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

Source from the content-addressed store, hash-verified

249 assert self.view.foo == 10
250
251 def test_clear(self):
252 self.view.clear()
253 assert self.view.both == 1
254 assert 'changed_key' not in self.view
255
256 def test_bool(self):
257 assert bool(self.view)

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected