@@ -152,9 +152,6 @@ async def test_worker_plugin_basic_config(client: Client) -> None:
152152 )
153153 task_queue = worker .config ().get ("task_queue" )
154154 assert task_queue is not None and task_queue .startswith ("replaced_queue" )
155- assert [p .name () for p in worker .config ().get ("plugins" , [])] == [
156- MyWorkerPlugin ().name ()
157- ]
158155
159156 # Test client plugin propagation to worker plugins
160157 new_config = client .config ()
@@ -165,9 +162,6 @@ async def test_worker_plugin_basic_config(client: Client) -> None:
165162 )
166163 task_queue = worker .config ().get ("task_queue" )
167164 assert task_queue is not None and task_queue .startswith ("combined" )
168- assert [p .name () for p in worker .config ().get ("plugins" , [])] == [
169- MyCombinedPlugin ().name ()
170- ]
171165
172166 # Test both. Client propagated plugins are called first, so the worker plugin overrides in this case
173167 worker = Worker (
@@ -178,10 +172,6 @@ async def test_worker_plugin_basic_config(client: Client) -> None:
178172 )
179173 task_queue = worker .config ().get ("task_queue" )
180174 assert task_queue is not None and task_queue .startswith ("replaced_queue" )
181- assert [p .name () for p in worker .config ().get ("plugins" , [])] == [
182- MyCombinedPlugin ().name (),
183- MyWorkerPlugin ().name (),
184- ]
185175
186176
187177async def test_worker_duplicated_plugin (client : Client ) -> None :
0 commit comments