(self)
| 88 | ) |
| 89 | |
| 90 | def setup_method(self): |
| 91 | self.patching('celery.backends.mongodb.MongoBackend.encode') |
| 92 | self.patching('celery.backends.mongodb.MongoBackend.decode') |
| 93 | self.patching('celery.backends.mongodb.Binary') |
| 94 | self.backend = MongoBackend(app=self.app, url=self.default_url) |
| 95 | |
| 96 | def test_init_no_mongodb(self, patching): |
| 97 | patching('celery.backends.mongodb.pymongo', None) |
nothing calls this directly
no test coverage detected