Description
#665 added a block_until_done arg to remove_application.
It would be super handy to have the same for remove_relation.
|
async def destroy_relation(self, local_relation, remote_relation): |
Urgency
It would save from a weird workaround
Code I'd Like to Run
await ops_test.model.applications[trfk.name].remove_relation(f"{ipr.name}:ingress", trfk.name, block_until_done=True)
# and then, without any additional `block_until`:
await ops_test.model.applications[trfk.name].add_relation(f"{ipr.name}:ingress", trfk.name)
Description
#665 added a
block_until_donearg toremove_application.It would be super handy to have the same for
remove_relation.python-libjuju/juju/application.py
Line 195 in 88eb6c4
Urgency
It would save from a weird workaround
Code I'd Like to Run