MCPcopy
hub / github.com/celery/celery / test_constructor

Method test_constructor

t/unit/events/test_snapshot.py:25–32  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

23 self.state = self.app.events.State()
24
25 def test_constructor(self):
26 x = Polaroid(self.state, app=self.app)
27 assert x.app is self.app
28 assert x.state is self.state
29 assert x.freq
30 assert x.cleanup_freq
31 assert x.logger
32 assert not x.maxrate
33
34 def test_install_timers(self):
35 x = Polaroid(self.state, app=self.app)

Callers

nothing calls this directly

Calls 1

PolaroidClass · 0.90

Tested by

no test coverage detected