Skip to content

Commit

Permalink
chore: use relations assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
yanksyoon committed Jan 31, 2024
1 parent 6f47350 commit 27cae57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/test_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ async def test_app_relation_destroy_block_until_done():
async with base.CleanModel() as model:
app: Application = await model.deploy('docker-registry')
rsa: Application = await model.deploy("easyrsa")
await app.relate("cert-provider", rsa.name)
relation = await app.relate('cert-provider', rsa.name)
await model.wait_for_idle(status="active")
await app.destroy_relation("cert-provider", rsa.name, block_until_done=True)
await app.relate("cert-provider", rsa.name)
await app.destroy_relation('cert-provider', rsa.name, block_until_done=True)
assert relation not in app.relations

0 comments on commit 27cae57

Please sign in to comment.