(self)
| 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) |