MCPcopy
hub / github.com/celery/celery / test_conf_raises_KeyError

Method test_conf_raises_KeyError

t/unit/backends/test_redis.py:760–768  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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):

Callers

nothing calls this directly

Calls 1

AttributeDictClass · 0.90

Tested by

no test coverage detected