(self)
| 262 | assert not x.immutable |
| 263 | |
| 264 | def test_election(self): |
| 265 | x = self.add.s(2, 2) |
| 266 | x.freeze('foo') |
| 267 | x.type.app.control = Mock() |
| 268 | r = x.election() |
| 269 | x.type.app.control.election.assert_called() |
| 270 | assert r.id == 'foo' |
| 271 | |
| 272 | def test_AsyncResult_when_not_registered(self): |
| 273 | s = signature('xxx.not.registered', app=self.app) |