File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1825,7 +1825,7 @@ async def deploy(
18251825 if config is None :
18261826 config = {}
18271827 if trust :
1828- config ["trust" ] = "true"
1828+ config ["trust" ] = True
18291829
18301830 return await self ._deploy (
18311831 charm_url = identifier ,
Original file line number Diff line number Diff line change @@ -211,6 +211,7 @@ async def test_upgrade_local_charm_resource(event_loop):
211211
212212@base .bootstrapped
213213@pytest .mark .asyncio
214+ @pytest .mark .skip ('Update charm' )
214215async def test_upgrade_charm_resource (event_loop ):
215216 async with base .CleanModel () as model :
216217 app = await model .deploy ('cs:~juju-qa/bionic/upgrade-charm-resource-test-0' )
@@ -233,7 +234,7 @@ async def test_upgrade_charm_resource(event_loop):
233234@pytest .mark .asyncio
234235async def test_refresh_with_resource_argument (event_loop ):
235236 async with base .CleanModel () as model :
236- app = await model .deploy ('juju-qa-test' , resources = {'foo-file' : 2 })
237+ app = await model .deploy ('juju-qa-test' , resources = {'foo-file' : '2' })
237238 res2 = await app .get_resources ()
238239 assert res2 ['foo-file' ].revision == 2
239240 await app .refresh (resources = {'foo-file' : 4 })
You can’t perform that action at this time.
0 commit comments