Commit 77e7a17f authored by Pietro Albini's avatar Pietro Albini

Remove the branch from the listing after the instance is removed

parent 1ca6802f
......@@ -174,6 +174,7 @@ class TestsManager:
self.instances.remove_branch(branch)
self.branches[branch].destroy()
del self.branches[branch]
# The instance should be created
elif branch not in self.branches and obj["state"] == "opened":
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment