(self)
| 1466 | assert sec.stop.call_count |
| 1467 | |
| 1468 | def test_statedb(self): |
| 1469 | from celery.worker import state |
| 1470 | Persistent = state.Persistent |
| 1471 | |
| 1472 | state.Persistent = Mock() |
| 1473 | try: |
| 1474 | worker = self.create_worker(statedb='statefilename') |
| 1475 | assert worker._persistence |
| 1476 | finally: |
| 1477 | state.Persistent = Persistent |
| 1478 | |
| 1479 | def test_process_task_sem(self): |
| 1480 | worker = self.worker |
nothing calls this directly
no test coverage detected