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

Method test_incr

t/unit/backends/test_base.py:2225–2227  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2223 KeyValueStoreBackend(self.app)._set_with_state('a', 1, states.SUCCESS)
2224
2225 def test_incr(self):
2226 with pytest.raises(NotImplementedError):
2227 KeyValueStoreBackend(self.app).incr('a')
2228
2229 def test_cleanup(self):
2230 assert not KeyValueStoreBackend(self.app).cleanup()

Callers

nothing calls this directly

Calls 3

raisesMethod · 0.80
incrMethod · 0.45

Tested by

no test coverage detected