MCPcopy
hub / github.com/celery/celery / test_missing_bucket

Method test_missing_bucket

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

Source from the content-addressed store, hash-verified

36 GCSBackend(app=self.app)
37
38 def test_missing_bucket(self):
39 self.app.conf.gcs_bucket = None
40
41 with pytest.raises(ImproperlyConfigured, match='Missing bucket name'):
42 GCSBackend(app=self.app)
43
44 def test_missing_project(self):
45 self.app.conf.gcs_project = None

Callers

nothing calls this directly

Calls 2

GCSBackendClass · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected