We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb617b6 commit 4694640Copy full SHA for 4694640
1 file changed
tests/integration/test_application.py
@@ -247,9 +247,10 @@ async def test_upgrade_local_charm(event_loop):
247
async with base.CleanModel() as model:
248
tests_dir = Path(__file__).absolute().parent
249
charm_path = tests_dir / 'upgrade-charm'
250
- app = await model.deploy('cs:ubuntu', series='focal')
+ app = await model.deploy('ch:ubuntu', series='focal')
251
await model.wait_for_idle(status="active")
252
- assert app.data['charm-url'].startswith('cs:ubuntu')
+ assert app.data['charm-url'].startswith('ch:') and 'ubuntu' in \
253
+ app.data['charm-url']
254
await app.upgrade_charm(path=charm_path)
255
await model.wait_for_idle(status="waiting")
256
assert app.data['charm-url'] == 'local:focal/ubuntu-0'
0 commit comments