@@ -56,24 +56,24 @@ async def test_action(event_loop):
5656@pytest .mark .asyncio
5757async def test_get_set_config (event_loop ):
5858 async with base .CleanModel () as model :
59- ubuntu_app = await model .deploy (
60- 'percona-cluster ' ,
61- application_name = 'mysql ' ,
62- series = 'xenial ' ,
59+ app = await model .deploy (
60+ 'hello-juju ' ,
61+ application_name = 'hello-juju ' ,
62+ series = 'focal ' ,
6363 channel = 'stable' ,
6464 config = {
65- 'tuning-level ' : 'safest ' ,
65+ 'application-repo ' : 'http://my-juju.com ' ,
6666 },
6767 constraints = {
6868 'arch' : 'amd64' ,
6969 'mem' : 256 * MB ,
7070 },
7171 )
7272
73- config = await ubuntu_app .get_config ()
74- await ubuntu_app .set_config (config )
73+ config = await app .get_config ()
74+ await app .set_config (config )
7575
76- config2 = await ubuntu_app .get_config ()
76+ config2 = await app .get_config ()
7777 assert config == config2
7878
7979
@@ -83,9 +83,9 @@ async def test_get_set_config(event_loop):
8383async def test_status_is_not_unset (event_loop ):
8484 async with base .CleanModel () as model :
8585 app = await model .deploy (
86- 'cs: ubuntu-0' ,
86+ 'ubuntu-0' ,
8787 application_name = 'ubuntu' ,
88- series = 'trusty ' ,
88+ series = 'jammy ' ,
8989 channel = 'stable' ,
9090 )
9191
@@ -143,10 +143,10 @@ async def test_deploy_charmstore_charm(event_loop):
143143@pytest .mark .asyncio
144144async def test_deploy_charmhub_charm (event_loop ):
145145 async with base .CleanModel () as model :
146- app = await model .deploy ('ch: hello-kubecon ' )
146+ app = await model .deploy ('hello-juju ' )
147147 await model .block_until (lambda : (len (app .units ) > 0 and
148148 app .units [0 ].machine ))
149- assert 'hello-kubecon ' in app .data ['charm-url' ]
149+ assert 'hello-juju ' in app .data ['charm-url' ]
150150
151151
152152@base .bootstrapped
0 commit comments