Open laszewsk opened 4 years ago
see def test_provider_vm_terminate(self): in test08...
we should just call info and get the status ...
maybe its time to implement a cm status with a class in the abstractions ...
Well, this exception catch happens in the vm deletion test. So, after deleting the vm, we are verifying if the vm is still available. Why I did exception catch in Azure was, azure sdk throws an exception when the requested vm is not in azure. And once the vm is deleted, this verification is sufficient AFAIU.
But I agree. We can simply catch the exception in the Provider.info method.
see elif cloud == 'oracle': # also aws in openstack we seem to return None try: provider.info(name=name) except Exception:
if there is an exception that means the group has been