@@ -80,6 +80,9 @@ def test_disabling_backend_cluster(self, celery_setup: CeleryTestSetup):
8080 assert celery_setup .backend_cluster is None
8181 assert celery_setup .backend is None
8282
83+ def test_setup_length (self , celery_setup : CeleryTestSetup ):
84+ assert len (celery_setup )
85+
8386 class test_disabling_broker_cluster :
8487 @pytest .fixture
8588 def celery_broker_cluster (self ) -> CeleryBrokerCluster :
@@ -89,6 +92,9 @@ def test_disabling_broker_cluster(self, celery_setup: CeleryTestSetup):
8992 assert celery_setup .broker_cluster is None
9093 assert celery_setup .broker is None
9194
95+ def test_setup_length (self , celery_setup : CeleryTestSetup ):
96+ assert len (celery_setup )
97+
9298 class test_disabling_worker_cluster :
9399 @pytest .fixture
94100 def celery_worker_cluster (self ) -> CeleryWorkerCluster :
@@ -97,3 +103,6 @@ def celery_worker_cluster(self) -> CeleryWorkerCluster:
97103 def test_disabling_worker_cluster (self , celery_setup : CeleryTestSetup ):
98104 assert celery_setup .worker_cluster is None
99105 assert celery_setup .worker is None
106+
107+ def test_setup_length (self , celery_setup : CeleryTestSetup ):
108+ assert len (celery_setup )
0 commit comments