MCPcopy
hub / github.com/celery/celery / test_missing_firestore_module

Method test_missing_firestore_module

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

Source from the content-addressed store, hash-verified

29 GCSBackend(app=self.app)
30
31 def test_missing_firestore_module(self):
32 with patch('celery.backends.gcs.firestore', None):
33 with pytest.raises(
34 ImproperlyConfigured, match='You must install'
35 ):
36 GCSBackend(app=self.app)
37
38 def test_missing_bucket(self):
39 self.app.conf.gcs_bucket = None

Callers

nothing calls this directly

Calls 2

GCSBackendClass · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected