yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44845
[Bug 1512207] Re: Fix usage of assertions
Reviewed: https://review.openstack.org/265579
Committed: https://git.openstack.org/cgit/openstack/kuryr/commit/?id=992630a4abf7ae10a281bf7a6f767488161e4b01
Submitter: Jenkins
Branch: master
commit 992630a4abf7ae10a281bf7a6f767488161e4b01
Author: LiuNanke <nanke.liu@xxxxxxxxxxxx>
Date: Sun Jan 10 02:00:57 2016 +0800
Use assertTrue/False instead of assertEqual(T/F)
The usage of assertEqual(True/False, ***) should be changed
to a meaningful format of assertTrue/False(***).
This patch fixes the same in keystone.
Closes-Bug: #1512207
Change-Id: I800fe2c849ff089882064656c21350354b729025
** Changed in: kuryr
Status: In Progress => 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/1512207
Title:
Fix usage of assertions
Status in Aodh:
Fix Released
Status in Barbican:
Fix Released
Status in Blazar:
In Progress
Status in Cinder:
Invalid
Status in congress:
Fix Released
Status in Cue:
Fix Released
Status in Glance:
Won't Fix
Status in Group Based Policy:
In Progress
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in Ironic:
Fix Released
Status in Ironic Inspector:
Fix Released
Status in OpenStack Identity (keystone):
Fix Released
Status in kuryr:
Fix Released
Status in Magnum:
In Progress
Status in Manila:
Fix Released
Status in Murano:
Fix Released
Status in neutron:
Fix Released
Status in OpenStack Compute (nova):
In Progress
Status in OpenStack Health:
In Progress
Status in os-brick:
Fix Released
Status in os-net-config:
In Progress
Status in os-testr:
In Progress
Status in oslo.cache:
Fix Released
Status in oslo.messaging:
Fix Released
Status in oslo.utils:
In Progress
Status in Packstack:
Fix Released
Status in python-barbicanclient:
In Progress
Status in python-ceilometerclient:
Fix Released
Status in python-novaclient:
Fix Released
Status in python-openstackclient:
Fix Released
Status in OpenStack SDK:
Fix Released
Status in Rally:
In Progress
Status in refstack:
In Progress
Status in requests-mock:
In Progress
Status in Sahara:
Fix Released
Status in shaker:
Fix Released
Status in Solum:
In Progress
Status in Stackalytics:
Fix Released
Status in OpenStack Object Storage (swift):
In Progress
Status in tempest:
In Progress
Status in Trove:
Fix Released
Status in tuskar:
In Progress
Status in Vitrage:
Fix Released
Status in watcher:
Fix Released
Status in zaqar:
Fix Released
Bug description:
Manila should use the specific assertion:
self.assertIsTrue/False(observed)
instead of the generic assertion:
self.assertEqual(True/False, observed)
To manage notifications about this bug go to:
https://bugs.launchpad.net/aodh/+bug/1512207/+subscriptions
References