yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #05591
[Bug 1220538] Re: Misuse of assertTrue in compute test scripts
** Changed in: nova
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1220538
Title:
Misuse of assertTrue in compute test scripts
Status in OpenStack Compute (Nova):
Fix Released
Bug description:
nova/tests/compute/test_compute_api.py
- self.assertTrue(volumes[volume_id]['status'], 'available')
nova/tests/compute/test_compute_mgr.py
- self.assertTrue(volumes[old_volume_id]['status'], 'available')
- self.assertTrue(volumes[new_volume_id]['status'], 'in-use')
- self.assertTrue(volumes[old_volume_id]['status'], 'detaching')
- self.assertTrue(volumes[new_volume_id]['status'], 'attaching')
- self.assertTrue(volumes[old_volume_id]['status'], 'detaching')
- self.assertTrue(volumes[new_volume_id]['status'], 'attaching')
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1220538/+subscriptions