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