1919
2020
2121@base .bootstrapped
22- async def test_action (event_loop ):
22+ async def test_action ():
2323 async with base .CleanModel () as model :
2424 app = await model .deploy ('juju-qa-test' )
2525 await jasyncio .sleep (10 )
@@ -28,7 +28,7 @@ async def test_action(event_loop):
2828
2929
3030@base .bootstrapped
31- async def test_get_set_config (event_loop ):
31+ async def test_get_set_config ():
3232 async with base .CleanModel () as model :
3333 app = await model .deploy (
3434 'ubuntu' ,
@@ -53,7 +53,7 @@ async def test_get_set_config(event_loop):
5353
5454@base .bootstrapped
5555@pytest .mark .skip ('Update charm' )
56- async def test_status_is_not_unset (event_loop ):
56+ async def test_status_is_not_unset ():
5757 async with base .CleanModel () as model :
5858 app = await model .deploy (
5959 'ubuntu-0' ,
@@ -67,7 +67,7 @@ async def test_status_is_not_unset(event_loop):
6767
6868@base .bootstrapped
6969@pytest .mark .skip ('Update charm' )
70- async def test_status (event_loop ):
70+ async def test_status ():
7171 async with base .CleanModel () as model :
7272 app = await model .deploy ('ch:juju-qa-test' )
7373
@@ -82,7 +82,7 @@ def app_ready():
8282
8383@base .bootstrapped
8484@pytest .mark .skip ('Update charm' )
85- async def test_add_units (event_loop ):
85+ async def test_add_units ():
8686 from juju .unit import Unit
8787
8888 async with base .CleanModel () as model :
@@ -100,7 +100,7 @@ async def test_add_units(event_loop):
100100
101101
102102@base .bootstrapped
103- async def test_deploy_charmhub_charm (event_loop ):
103+ async def test_deploy_charmhub_charm ():
104104 async with base .CleanModel () as model :
105105 app = await model .deploy ('ubuntu' )
106106 await model .block_until (lambda : (len (app .units ) > 0 and
@@ -110,7 +110,7 @@ async def test_deploy_charmhub_charm(event_loop):
110110
111111@base .bootstrapped
112112@pytest .mark .skip ('Skip until a similar k8s solution is found' )
113- async def test_upgrade_charm_switch_channel (event_loop ):
113+ async def test_upgrade_charm_switch_channel ():
114114 # Note for future:
115115 # This test requires a charm that has different
116116 # revisions for different channels/risks.
@@ -154,7 +154,7 @@ async def test_upgrade_charm_switch_channel(event_loop):
154154
155155@base .bootstrapped
156156@pytest .mark .skip ('Update charm' )
157- async def test_upgrade_charm_revision (event_loop ):
157+ async def test_upgrade_charm_revision ():
158158 async with base .CleanModel () as model :
159159 app = await model .deploy ('ubuntu' )
160160 await model .block_until (lambda : (len (app .units ) > 0 and
@@ -166,7 +166,7 @@ async def test_upgrade_charm_revision(event_loop):
166166
167167@base .bootstrapped
168168@pytest .mark .skip ('Update charm' )
169- async def test_upgrade_charm_switch (event_loop ):
169+ async def test_upgrade_charm_switch ():
170170 async with base .CleanModel () as model :
171171 app = await model .deploy ('ubuntu' )
172172 await model .block_until (lambda : (len (app .units ) > 0 and
@@ -179,7 +179,7 @@ async def test_upgrade_charm_switch(event_loop):
179179
180180
181181@base .bootstrapped
182- async def test_upgrade_local_charm (event_loop ):
182+ async def test_upgrade_local_charm ():
183183 async with base .CleanModel () as model :
184184 tests_dir = Path (__file__ ).absolute ().parent
185185 charm_path = tests_dir / 'upgrade-charm'
@@ -192,7 +192,7 @@ async def test_upgrade_local_charm(event_loop):
192192
193193
194194@base .bootstrapped
195- async def test_upgrade_local_charm_resource (event_loop ):
195+ async def test_upgrade_local_charm_resource ():
196196 async with base .CleanModel () as model :
197197 charm_path = INTEGRATION_TEST_DIR / 'file-resource-charm'
198198 resources = {"file-res" : "test.file" }
@@ -212,7 +212,7 @@ async def test_upgrade_local_charm_resource(event_loop):
212212@base .bootstrapped
213213@pytest .mark .asyncio
214214@pytest .mark .skip ('Update charm' )
215- async def test_upgrade_charm_resource (event_loop ):
215+ async def test_upgrade_charm_resource ():
216216 async with base .CleanModel () as model :
217217 app = await model .deploy ('cs:~juju-qa/bionic/upgrade-charm-resource-test-0' )
218218
@@ -232,7 +232,7 @@ async def test_upgrade_charm_resource(event_loop):
232232
233233@base .bootstrapped
234234@pytest .mark .asyncio
235- async def test_refresh_with_resource_argument (event_loop ):
235+ async def test_refresh_with_resource_argument ():
236236 async with base .CleanModel () as model :
237237 app = await model .deploy ('juju-qa-test' , resources = {'foo-file' : '2' })
238238 res2 = await app .get_resources ()
@@ -244,7 +244,7 @@ async def test_refresh_with_resource_argument(event_loop):
244244
245245@base .bootstrapped
246246@pytest .mark .asyncio
247- async def test_upgrade_charm_resource_same_rev_no_update (event_loop ):
247+ async def test_upgrade_charm_resource_same_rev_no_update ():
248248 async with base .CleanModel () as model :
249249 app = await model .deploy ('keystone' , channel = 'victoria/stable' )
250250 ress = await app .get_resources ()
@@ -255,7 +255,7 @@ async def test_upgrade_charm_resource_same_rev_no_update(event_loop):
255255
256256@base .bootstrapped
257257@pytest .mark .asyncio
258- async def test_refresh_charmhub_to_local (event_loop ):
258+ async def test_refresh_charmhub_to_local ():
259259 charm_path = INTEGRATION_TEST_DIR / 'charm'
260260 async with base .CleanModel () as model :
261261 app = await model .deploy ('ubuntu' , application_name = 'ubu-path' )
@@ -269,7 +269,7 @@ async def test_refresh_charmhub_to_local(event_loop):
269269
270270@base .bootstrapped
271271@pytest .mark .asyncio
272- async def test_local_refresh (event_loop ):
272+ async def test_local_refresh ():
273273 charm_path = INTEGRATION_TEST_DIR / 'charm'
274274 async with base .CleanModel () as model :
275275 app = await model .deploy ('ubuntu' )
@@ -285,7 +285,7 @@ async def test_local_refresh(event_loop):
285285
286286@base .bootstrapped
287287@pytest .mark .asyncio
288- async def test_trusted (event_loop ):
288+ async def test_trusted ():
289289 async with base .CleanModel () as model :
290290 await model .deploy ('ubuntu' , trust = True )
291291
@@ -299,7 +299,7 @@ async def test_trusted(event_loop):
299299
300300
301301@base .bootstrapped
302- async def test_app_destroy (event_loop ):
302+ async def test_app_destroy ():
303303 async with base .CleanModel () as model :
304304 app = await model .deploy ('ubuntu' )
305305 a_name = app .name # accessing name is impossible after the app is destroyed
@@ -314,7 +314,7 @@ async def test_app_destroy(event_loop):
314314
315315
316316@base .bootstrapped
317- async def test_app_remove_wait_flag (event_loop ):
317+ async def test_app_remove_wait_flag ():
318318 async with base .CleanModel () as model :
319319 app = await model .deploy ('ubuntu' )
320320 a_name = app .name
@@ -325,7 +325,7 @@ async def test_app_remove_wait_flag(event_loop):
325325
326326
327327@base .bootstrapped
328- async def test_app_charm_name (event_loop ):
328+ async def test_app_charm_name ():
329329 async with base .CleanModel () as model :
330330 app = await model .deploy ('ubuntu' )
331331 await model .wait_for_idle (status = "active" )
0 commit comments