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

Method test_missing_storage_module

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

GCSBackendClass · 0.90
raisesMethod · 0.80

Tested by

no test coverage detected