MCPcopy
hub / github.com/celery/celery / test_missing_storage_module

Method test_missing_storage_module

t/unit/backends/test_gcs.py:24–29  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

22 return request.param
23
24 def test_missing_storage_module(self):
25 with patch('celery.backends.gcs.storage', None):
26 with pytest.raises(
27 ImproperlyConfigured, match='You must install'
28 ):
29 GCSBackend(app=self.app)
30
31 def test_missing_firestore_module(self):
32 with patch('celery.backends.gcs.firestore', None):

Callers

nothing calls this directly

Calls 2

GCSBackendClass · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected