(self)
| 758 | ) |
| 759 | |
| 760 | def test_conf_raises_KeyError(self): |
| 761 | self.app.conf = AttributeDict({ |
| 762 | 'result_serializer': 'json', |
| 763 | 'result_cache_max': 1, |
| 764 | 'result_expires': None, |
| 765 | 'accept_content': ['json'], |
| 766 | 'result_accept_content': ['json'], |
| 767 | }) |
| 768 | self.Backend(app=self.app) |
| 769 | |
| 770 | @patch('celery.backends.redis.logger') |
| 771 | def test_on_connection_error(self, logger): |
nothing calls this directly
no test coverage detected