-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The pylibjuju client hardcodes a mapping between series codename and the base channel. Noble was absent from this mapping, meaning pylibjuju doesn't know know to deploy to noble. Add noble to this mapping. After noble, we will only support deploying by base. Noble will be the last series added to this map Add an integration test which deploys a charm to noble
- Loading branch information
1 parent
4737dc8
commit 6bfbe24
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -437,6 +437,15 @@ async def test_deploy_with_base(): | |
await model.wait_for_idle(status='active') | ||
|
||
|
||
@base.bootstrapped | ||
async def test_deploy_noble(): | ||
charm_path = INTEGRATION_TEST_DIR / 'charm-manifest' | ||
|
||
async with base.CleanModel() as model: | ||
await model.deploy(str(charm_path), base="[email protected]") | ||
await model.wait_for_idle(status='active') | ||
|
||
|
||
@base.bootstrapped | ||
async def test_add_machine(): | ||
from juju.machine import Machine | ||
|