We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f47350 commit 27cae57Copy full SHA for 27cae57
1 file changed
tests/integration/test_application.py
@@ -340,7 +340,7 @@ async def test_app_relation_destroy_block_until_done():
340
async with base.CleanModel() as model:
341
app: Application = await model.deploy('docker-registry')
342
rsa: Application = await model.deploy("easyrsa")
343
- await app.relate("cert-provider", rsa.name)
+ relation = await app.relate('cert-provider', rsa.name)
344
await model.wait_for_idle(status="active")
345
- await app.destroy_relation("cert-provider", rsa.name, block_until_done=True)
346
+ await app.destroy_relation('cert-provider', rsa.name, block_until_done=True)
+ assert relation not in app.relations
0 commit comments