diff options
author | Cole Robinson <crobinso@redhat.com> | 2020-08-26 13:26:08 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2020-08-26 16:24:39 -0400 |
commit | f74c0610614727d6ab43c8d04f84bdf6f7c9c2b2 (patch) | |
tree | fbcfee9f7bef02b5bc91650c910deeb08e19eae7 /virtManager/object/domain.py | |
parent | cfd6d6ead447b5a700056d9ca53bff0a2e4fadc1 (diff) | |
download | virt-manager-f74c0610614727d6ab43c8d04f84bdf6f7c9c2b2.tar.gz |
uitests: Finish asyncjob.py coverage
Signed-off-by: Cole Robinson <crobinso@redhat.com>
Diffstat (limited to 'virtManager/object/domain.py')
-rw-r--r-- | virtManager/object/domain.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/virtManager/object/domain.py b/virtManager/object/domain.py index 727aacd1..e8750220 100644 --- a/virtManager/object/domain.py +++ b/virtManager/object/domain.py @@ -1319,7 +1319,8 @@ class vmmDomain(vmmLibvirtObject): @vmmLibvirtObject.lifecycle_action def startup(self): has_managed = self.has_managed_save() - if has_managed and self.config.CLITestOptions.test_managed_save: + if (self.config.CLITestOptions.test_vm_run_fail or + (has_managed and self.config.CLITestOptions.test_managed_save)): raise RuntimeError("fake error for managed save") self._backend.create() |