Skip to content

Commit 630110f

Browse files
committed
Add test for deploy to unit with series argument
1 parent e2ee1b1 commit 630110f

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

tests/integration/test_unit.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,3 +239,17 @@ async def test_resolve_local(event_loop):
239239
# Errored units won't get cleaned up unless we force them.
240240
await asyncio.gather(*(machine.destroy(force=True)
241241
for machine in model.machines.values()))
242+
243+
244+
@base.bootstrapped
245+
@pytest.mark.asyncio
246+
async def test_unit_introspect(event_loop):
247+
async with base.CleanModel() as model:
248+
await model.deploy('ubuntu', series='jammy')
249+
await model.wait_for_idle(status="active")
250+
251+
await model.deploy('juju-introspect',
252+
channel='edge',
253+
series='jammy',
254+
to='0',
255+
)

0 commit comments

Comments
 (0)