← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1512207] Re: Fix usage of assertions

 

Reviewed:  https://review.openstack.org/264636
Committed: https://git.openstack.org/cgit/openstack/watcher/commit/?id=c286e1ec4bf3ab8ed6d07964d0c11cada639587b
Submitter: Jenkins
Branch:    master

commit c286e1ec4bf3ab8ed6d07964d0c11cada639587b
Author: Swapnil Kulkarni (coolsvap) <me@xxxxxxxxxxxx>
Date:   Thu Jan 7 12:51:22 2016 +0530

    Use assertTrue/False instead of assertEqual(T/F)
    
    The usage of assertEqual(True/False, ***) should be changed
    to a meaningful format of assertTrue/False(***).
    
    Change-Id: Id708a94ac461adf021893a05796163bd2ced153c
    Closes-Bug:#1512207


** Changed in: watcher
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1512207

Title:
  Fix usage of assertions

Status in Aodh:
  In Progress
Status in Barbican:
  In Progress
Status in Blazar:
  In Progress
Status in Cinder:
  In Progress
Status in congress:
  In Progress
Status in Cue:
  In Progress
Status in Glance:
  In Progress
Status in Group Based Policy:
  In Progress
Status in OpenStack Dashboard (Horizon):
  In Progress
Status in Ironic:
  In Progress
Status in Ironic Inspector:
  Fix Released
Status in OpenStack Identity (keystone):
  Fix Released
Status in Magnum:
  In Progress
Status in Manila:
  Fix Released
Status in neutron:
  In Progress
Status in OpenStack Health:
  In Progress
Status in os-brick:
  In Progress
Status in os-net-config:
  In Progress
Status in oslo.cache:
  In Progress
Status in oslo.messaging:
  In Progress
Status in oslo.utils:
  In Progress
Status in Packstack:
  In Progress
Status in python-barbicanclient:
  In Progress
Status in python-ceilometerclient:
  In Progress
Status in python-novaclient:
  Fix Released
Status in python-openstackclient:
  In Progress
Status in OpenStack SDK:
  In Progress
Status in Rally:
  New
Status in refstack:
  In Progress
Status in Sahara:
  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:
  In Progress
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