MCPcopy Create free account
hub / github.com/celery/celery / setup_method

Method setup_method

t/unit/backends/test_database.py:126–128  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

124 os.remove(DB_PATH)
125
126 def setup_method(self):
127 self.uri = 'sqlite:///' + DB_PATH
128 self.app.conf.result_serializer = 'pickle'
129
130 def test_store_result_retries_on_database_error(self):
131 """Test that _store_result retries when database errors occur."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected