MCPcopy
hub / github.com/celery/celery / test_missing_project

Method test_missing_project

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

Source from the content-addressed store, hash-verified

42 GCSBackend(app=self.app)
43
44 def test_missing_project(self):
45 self.app.conf.gcs_project = None
46
47 with pytest.raises(ImproperlyConfigured, match='Missing project'):
48 GCSBackend(app=self.app)
49
50 @patch.object(GCSBackend, '_is_firestore_ttl_policy_enabled')
51 def test_firestore_project(self, mock_firestore_ttl):

Callers

nothing calls this directly

Calls 2

GCSBackendClass · 0.90
raisesMethod · 0.45

Tested by

no test coverage detected