Skip to content

Commit 5c2d310

Browse files
committed
Add base.bootstrapped decorator to integration test
which allows to test to skip (instead of failing) if there's no bootstrapped juju in the environment (which we don't in the merge jobs in jenkins). Looks like we accidentally took it out in 5b55b35#diff-9405e0bc34a26ab57891171003bb7253b44c20fa921670f44b207c1971b413f1
1 parent 2b8c252 commit 5c2d310

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/integration/test_model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,7 @@ async def test_deploy_from_ch_channel_revision_success(event_loop):
341341
await model.deploy("postgresql", application_name="test2", channel='latest/stable', revision=290)
342342

343343

344+
@base.bootstrapped
344345
@pytest.mark.asyncio
345346
async def test_deploy_trusted_bundle(event_loop):
346347
async with base.CleanModel() as model:

0 commit comments

Comments
 (0)