Potential fix for pull request finding

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
dahn 2026-05-08 16:46:21 +02:00 committed by GitHub
parent acf78ab6cf
commit 10a04048ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 2 deletions

View File

@ -158,10 +158,14 @@ class TestDeployVMFromISO(cloudstackTestCase):
"Check list response returns a valid list"
)
vm_response = list_vm_response[0]
vm_state = self.virtual_machine.getState(
self.apiclient,
VirtualMachine.RUNNING
)
self.assertEqual(
vm_response.state,
"Running",
vm_state,
VirtualMachine.RUNNING,
"Check virtual machine is in running state"
)