projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Improved integration tests
[osm/N2VC.git]
/
modules
/
libjuju
/
examples
/
action.py
diff --git
a/modules/libjuju/examples/action.py
b/modules/libjuju/examples/action.py
index
4a3cc6d
..
f839f11
100644
(file)
--- a/
modules/libjuju/examples/action.py
+++ b/
modules/libjuju/examples/action.py
@@
-7,7
+7,6
@@
This example:
4. Waits for the action results to come back, then exits.
"""
4. Waits for the action results to come back, then exits.
"""
-import asyncio
import logging
from juju import loop
import logging
from juju import loop
@@
-27,8
+26,8
@@
async def run_action(unit):
async def main():
model = Model()
async def main():
model = Model()
+ # connect to current model with current user, per Juju CLI
await model.connect()
await model.connect()
- await model.reset(force=True)
app = await model.deploy(
'git',
app = await model.deploy(
'git',