File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11applications :
2- ghost :
3- charm : " ghost"
2+ helloa :
3+ charm : " hello-juju"
4+ name : " helloa"
45 channel : stable
56 num_units : 1
67 options :
78 config : include-file://config1.yaml
8- mysql :
9- charm : " mysql"
10- channel : candidate
9+ hellob :
10+ charm : " hello-juju"
11+ name : " hellob"
12+ channel : stable
1113 num_units : 1
1214 test :
13- charm : " ../charm"
14- relations :
15- - ["ghost", "mysql"]
15+ charm : " ../charm"
Original file line number Diff line number Diff line change 1- ghost :
2- url : " http://my-ghost.blg "
3- port : 2369
1+ helloa :
2+ application-repo : " http://my-juju.com "
3+ port : 666
Original file line number Diff line number Diff line change @@ -88,12 +88,12 @@ async def test_deploy_local_bundle_include_file(event_loop):
8888 async with base .CleanModel () as model :
8989 await model .deploy (str (bundle_yaml_path ))
9090
91- mysql = model .applications .get ('mysql ' , None )
92- ghost = model .applications .get ('ghost ' , None )
91+ appa = model .applications .get ('helloa ' , None )
92+ appb = model .applications .get ('hellob ' , None )
9393 test = model .applications .get ('test' , None )
94- assert mysql and ghost and test
95- assert ghost .config .get ('port' , None ) == 2369
96- assert ghost .config .get ('url ' , "" ) == ' http://my-ghost.blg'
94+ assert appa and appb and test
95+ assert appa .config .get ('port' , None ) == 666
96+ assert appa .config .get ('application-repo ' , "" ) == " http://my-juju.com"
9797
9898
9999@base .bootstrapped
You can’t perform that action at this time.
0 commit comments