1919
2020@base .bootstrapped
2121@pytest .mark .asyncio
22- async def test_action (event_loop ):
22+ async def test_action ():
2323 async with base .CleanModel () as model :
2424 ubuntu_app = await model .deploy (
2525 'percona-cluster' ,
@@ -57,7 +57,7 @@ async def test_action(event_loop):
5757
5858@base .bootstrapped
5959@pytest .mark .asyncio
60- async def test_get_set_config (event_loop ):
60+ async def test_get_set_config ():
6161 async with base .CleanModel () as model :
6262 ubuntu_app = await model .deploy (
6363 'percona-cluster' ,
@@ -82,7 +82,7 @@ async def test_get_set_config(event_loop):
8282
8383@base .bootstrapped
8484@pytest .mark .asyncio
85- async def test_status_is_not_unset (event_loop ):
85+ async def test_status_is_not_unset ():
8686 async with base .CleanModel () as model :
8787 app = await model .deploy (
8888 'ubuntu' ,
@@ -96,7 +96,7 @@ async def test_status_is_not_unset(event_loop):
9696
9797@base .bootstrapped
9898@pytest .mark .asyncio
99- async def test_status (event_loop ):
99+ async def test_status ():
100100 async with base .CleanModel () as model :
101101 app = await model .deploy ('cs:~juju-qa/blocked-0' )
102102
@@ -111,7 +111,7 @@ def app_ready():
111111
112112@base .bootstrapped
113113@pytest .mark .asyncio
114- async def test_add_units (event_loop ):
114+ async def test_add_units ():
115115 from juju .unit import Unit
116116
117117 async with base .CleanModel () as model :
@@ -130,7 +130,7 @@ async def test_add_units(event_loop):
130130
131131@base .bootstrapped
132132@pytest .mark .asyncio
133- async def test_deploy_charmhub_charm (event_loop ):
133+ async def test_deploy_charmhub_charm ():
134134 async with base .CleanModel () as model :
135135 app = await model .deploy ('ch:hello-juju' )
136136 await model .block_until (lambda : (len (app .units ) > 0 and
@@ -140,7 +140,7 @@ async def test_deploy_charmhub_charm(event_loop):
140140
141141@base .bootstrapped
142142@pytest .mark .asyncio
143- async def test_upgrade_charm_switch_channel (event_loop ):
143+ async def test_upgrade_charm_switch_channel ():
144144 # Note for future:
145145 # This test requires a charm that has different
146146 # revisions for different channels/risks.
@@ -184,7 +184,7 @@ async def test_upgrade_charm_switch_channel(event_loop):
184184
185185@base .bootstrapped
186186@pytest .mark .asyncio
187- async def test_upgrade_local_charm (event_loop ):
187+ async def test_upgrade_local_charm ():
188188 # Skip temporarily due to a known problem:
189189 pytest .skip ('cannot upgrade application "ubuntu" to charm "local:focal/ubuntu-0": required storage "files" removed' )
190190 async with base .CleanModel () as model :
@@ -201,7 +201,7 @@ async def test_upgrade_local_charm(event_loop):
201201
202202@base .bootstrapped
203203@pytest .mark .asyncio
204- async def test_upgrade_switch_charmstore_to_charmhub (event_loop ):
204+ async def test_upgrade_switch_charmstore_to_charmhub ():
205205 async with base .CleanModel () as model :
206206 app = await model .deploy ('cs:ubuntu' , series = 'focal' )
207207 await model .wait_for_idle (status = "active" )
@@ -213,7 +213,7 @@ async def test_upgrade_switch_charmstore_to_charmhub(event_loop):
213213
214214@base .bootstrapped
215215@pytest .mark .asyncio
216- async def test_upgrade_charm_resource (event_loop ):
216+ async def test_upgrade_charm_resource ():
217217 async with base .CleanModel () as model :
218218 app = await model .deploy ('cs:~juju-qa/bionic/upgrade-charm-resource-test-0' )
219219
@@ -233,7 +233,7 @@ async def test_upgrade_charm_resource(event_loop):
233233
234234@base .bootstrapped
235235@pytest .mark .asyncio
236- async def test_refresh_with_resource_argument (event_loop ):
236+ async def test_refresh_with_resource_argument ():
237237 async with base .CleanModel () as model :
238238 app = await model .deploy ('juju-qa-test' , resources = {'foo-file' : 2 })
239239 res2 = await app .get_resources ()
@@ -245,7 +245,7 @@ async def test_refresh_with_resource_argument(event_loop):
245245
246246@base .bootstrapped
247247@pytest .mark .asyncio
248- async def test_upgrade_charm_resource_same_rev_no_update (event_loop ):
248+ async def test_upgrade_charm_resource_same_rev_no_update ():
249249 async with base .CleanModel () as model :
250250 app = await model .deploy ('keystone' , channel = 'victoria/stable' )
251251 ress = await app .get_resources ()
@@ -256,7 +256,7 @@ async def test_upgrade_charm_resource_same_rev_no_update(event_loop):
256256
257257@base .bootstrapped
258258@pytest .mark .asyncio
259- async def test_refresh_charmhub_to_local (event_loop ):
259+ async def test_refresh_charmhub_to_local ():
260260 charm_path = INTEGRATION_TEST_DIR / 'charm'
261261 async with base .CleanModel () as model :
262262 app = await model .deploy ('ubuntu' , application_name = 'ubu-path' )
@@ -270,7 +270,7 @@ async def test_refresh_charmhub_to_local(event_loop):
270270
271271@base .bootstrapped
272272@pytest .mark .asyncio
273- async def test_local_refresh (event_loop ):
273+ async def test_local_refresh ():
274274 charm_path = INTEGRATION_TEST_DIR / 'charm'
275275 async with base .CleanModel () as model :
276276 app = await model .deploy ('ubuntu' )
@@ -286,7 +286,7 @@ async def test_local_refresh(event_loop):
286286
287287@base .bootstrapped
288288@pytest .mark .asyncio
289- async def test_upgrade_local_charm_with_resource (event_loop ):
289+ async def test_upgrade_local_charm_with_resource ():
290290 charm_path = INTEGRATION_TEST_DIR / 'file-resource-charm'
291291 async with base .CleanModel () as model :
292292 app = await model .deploy (str (charm_path ))
@@ -308,7 +308,7 @@ async def test_upgrade_local_charm_with_resource(event_loop):
308308
309309@base .bootstrapped
310310@pytest .mark .asyncio
311- async def test_trusted (event_loop ):
311+ async def test_trusted ():
312312 async with base .CleanModel () as model :
313313 await model .deploy ('ubuntu' , trust = True )
314314
@@ -323,7 +323,7 @@ async def test_trusted(event_loop):
323323
324324@base .bootstrapped
325325@pytest .mark .asyncio
326- async def test_app_remove_wait_flag (event_loop ):
326+ async def test_app_remove_wait_flag ():
327327 async with base .CleanModel () as model :
328328 app = await model .deploy ('ubuntu' )
329329 a_name = app .name
@@ -335,7 +335,7 @@ async def test_app_remove_wait_flag(event_loop):
335335
336336@base .bootstrapped
337337@pytest .mark .asyncio
338- async def test_app_charm_name (event_loop ):
338+ async def test_app_charm_name ():
339339 async with base .CleanModel () as model :
340340 app = await model .deploy ('ubuntu' )
341341 await model .wait_for_idle (status = "active" )
0 commit comments